This content has been marked as final.
Show 3 replies

1. Re: Please help
davidhead Sep 10, 2009 9:04 PM (in response to eekamouse)Try this calculation:
Let ([
sum = f1 + f2 + f3 + f4;
sum = Round ( sum; 2 );
int = Int ( sum );
mod = Mod ( sum ; 1 )
];
int & If ( mod; Left ( mod & "0"; 3 ); ".00" )
)

2. Re: Please help
comment_1 Sep 11, 2009 5:51 AM (in response to eekamouse)
eekamouse wrote:
I need to be able to have an accurate character length calculated for f_all for further calculationsWhat are these further calculations? For any numeric calculation, 59.9 is exactly the same as "59.90" and any trailing decimal zeros are entirely redundant.

3. Re: Please help
RickWhitelaw Sep 13, 2009 8:05 PM (in response to eekamouse)Comment wrote:
"What are these further calculations? For any numeric calculation, 59.9 is exactly the same as "59.90" and any trailing decimal zeros are entirely redundant."
I guess the "further calculations" could be text calculations . . . nonnumeric anyway. I've never had the need to track trailing zeroes but certainly need leading zeroes to make certain calculations work. On the other hand, it's late . . . .
RW