Skip to main content
29 events
when toggle format what by license comment
Dec 9, 2016 at 20:41 review Close votes
Dec 13, 2016 at 0:04
Feb 23, 2016 at 14:04 comment added Munawir @SKADIN Updated answer to satisfy your latest condition.
Feb 23, 2016 at 13:36 comment added SKADIN @Munawir i'll check that
Feb 23, 2016 at 13:34 history edited SKADIN CC BY-SA 3.0
added 79 characters in body
Feb 23, 2016 at 13:15 comment added Munawir @SKADIN Check my answer stackoverflow.com/a/35578595/2792083
Feb 23, 2016 at 13:15 answer added Munawir timeline score: -1
Feb 23, 2016 at 13:06 answer added qqq timeline score: 8
Feb 23, 2016 at 13:01 comment added SKADIN @dshgna i'll check that!! and ya it will be still rounded to the lowest/highest 10th.
Feb 23, 2016 at 13:00 comment added dshgna @SKADIN check if my answer to see if it's what you need. Also, in cases when the numbers are above 100, will they be rounded to the lowest/highest 10th?
Feb 23, 2016 at 12:59 comment added SKADIN @Munawir can be above
Feb 23, 2016 at 12:57 comment added Munawir are all numbers below 100 or any with no limit ?
Feb 23, 2016 at 12:52 answer added dshgna timeline score: 3
Feb 23, 2016 at 12:49 comment added SKADIN @dshgna ya if it is integer, but if it is decimal as in the third condition i should be setting that accordingly.
Feb 23, 2016 at 12:48 history edited SKADIN CC BY-SA 3.0
added 153 characters in body
Feb 23, 2016 at 12:47 answer added REDEVI_ timeline score: -3
Feb 23, 2016 at 12:46 comment added dshgna @SKADIN: So you basically want to push up bigValue to the nearest upper 10th and smallValue to the nearest lower 10th?
Feb 23, 2016 at 12:44 comment added SKADIN @DarrenSweeney I'm getting the points that should be shown in graph, for which i should set the y-axis accordingly.
Feb 23, 2016 at 12:43 comment added SKADIN @dshgna can be any values but always bigValue>smallValue and both will be positive.
Feb 23, 2016 at 12:42 comment added Michelangelo @SKADIN Why not using a switch statement?
Feb 23, 2016 at 12:42 comment added dshgna Here bigValue and smallValue can be any value? Or these specific values?
Feb 23, 2016 at 12:42 comment added SKADIN @BartekBanachewicz I feel it has too many if else
Feb 23, 2016 at 12:42 comment added StudioTime What is the logic behind this? It makes no sense
Feb 23, 2016 at 12:41 comment added Michelangelo What is your question exactly? You don't know how to write this in javascript or different?
Feb 23, 2016 at 12:41 comment added SKADIN @Matthijs yea that is possible
Feb 23, 2016 at 12:40 comment added Bartek Banachewicz What's wrong with the logic you have? (perhaps except for missing else?). You probably could put those value in a table and do some sort of a composite key lookup, but I'm not sure whether it's worth it in your case.
Feb 23, 2016 at 12:40 history edited Jivings CC BY-SA 3.0
edited title
Feb 23, 2016 at 12:40 comment added Matthijs Can there be any number of combinations? Could bigValue 42 come with smallValue 03, for example?
Feb 23, 2016 at 12:39 history edited Turnip CC BY-SA 3.0
added 20 characters in body
Feb 23, 2016 at 12:36 history asked SKADIN CC BY-SA 3.0