J
John Wilkinson
Hi,
I am creating a table of values. One column is the addition of the other 2
columns.Both columns are floating point, and may be any value 0-100
For some values we find that we get a good output from the sum, such
as,97.67+2.31=99.98, others we get problems: 96.56+0.54=79.100000000001.
How do I truncate these figures to 2 decimal places?
I am creating a table of values. One column is the addition of the other 2
columns.Both columns are floating point, and may be any value 0-100
For some values we find that we get a good output from the sum, such
as,97.67+2.31=99.98, others we get problems: 96.56+0.54=79.100000000001.
How do I truncate these figures to 2 decimal places?