Hi All, 

I am using some calculated columns in a DataView, but I noticed that the 
numbers are always rounding down. For example, the calculation is "Divide 
by 2" and for 25 div by 2 it's returning 12, when I would need it to return 
12.5 or 13. 

I tried creating a DataTable from my DataView and formatted it so it shows 
2 decimal places, but that doesn't work because it's rounding down before 
the decimal formatting takes effect, so it's just displaying 12.00 - still 
not what I want. 

Can someone explain what I'm doing wrong? 

Here's some code that shows my issue:

http://jsfiddle.net/christina_sanabria/8JMnk/2/

Thanks,

Christina

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to