Computed attributes not showing decimals

Daniel Petrov5 years ago

Hello Anton,

I am using computed attributes to calculate specific values with the following formula:

io15 / 100

If io15 is equal to 234, the result is 2.

How can I set it to get the number with decimals, i.e. 2.34?

Thank you!

Anton Tananaev5 years ago

Try io15 / 100.0.

Daniel Petrov5 years ago

Thank you, Anton! Will try it now.

What if i need a value like 2.3 or 2.345?