Floats & Decimal places.

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8487
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2441 times
Been thanked: 3500 times
Contact:

Floats & Decimal places.

Postby medelec35 » Sat Nov 21, 2015 12:44 am

It would be useful if we can select how many decimal places final result is rounded to.
These users thanked the author medelec35 for the post (total 3):
dazz (Sat Nov 21, 2015 1:05 pm) • petesmart (Sun Nov 22, 2015 11:47 am) • kersing (Mon Nov 23, 2015 8:47 pm)
Rating: 15.79%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Benj
Matrix Staff
Posts: 14471
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4536 times
Been thanked: 4204 times
Contact:

Re: Floats & Decimal places.

Postby Benj » Mon Nov 23, 2015 1:51 pm

Hi Martin,

The C function does feature the number of decimal places. When the function was Flowcode-ised the precision variable was for some reason hard coded to 6 rather than exposed to the user I'm really not sure why this happened.

I will see if we can get this done as it would certainly be handy.
These users thanked the author Benj for the post (total 4):
medelec35 (Mon Nov 23, 2015 1:53 pm) • kersing (Mon Nov 23, 2015 8:47 pm) • petesmart (Tue Nov 24, 2015 10:43 am) • hyperion007 (Sat Apr 02, 2016 2:49 pm)
Rating: 21.05%