### Title

Please help

### Post

Hi everyone, i have four number fields f1, f2 , f3 f4 and once calculation that adds them

f_all = f1+f2+f3+f4

for some reason if I enter 59.90 in any of the four fields f_all calculates it as 59.9

I need to be able to have an accurate character length calculated for f_all for further calculations so 59.90 should calculate as 4 characters. I have tried using the number formatting but that did not work it only displayed correctly.

any thoughts?

eek

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" )

)