My REAL numbers displaying without the decimal
Hi All,
I have some real numbers, which when I calculate on a calculator come out with a decimal place. However, when I put the calculation in GS, and then display the number, it is not showing the decimals.
My calculation is one which I have been given in another post:
changeattribute: numberOfDays = 365*year + year/4 - year/100 + year/400 + date + (153*month+8)/5
Year = 2012
Date = 22
Month = 2
Thanks,
I have some real numbers, which when I calculate on a calculator come out with a decimal place. However, when I put the calculation in GS, and then display the number, it is not showing the decimals.
My calculation is one which I have been given in another post:
changeattribute: numberOfDays = 365*year + year/4 - year/100 + year/400 + date + (153*month+8)/5
Year = 2012
Date = 22
Month = 2
Thanks,
Best Answer
-
MarkOnTheIron Posts: 1,447
Real numbers are not limited. Maybe somewhere in your calculations you're rounding the values.
Answers
Are REAL numbers limited to length in game salad?
Has anyone else seen this? Possible bug??