Hi to everybody!
I'm looking for a routine to rounding to x number of decimal digits a floating point number.
In several C languaje implementations there's at least one form of implementation (e.g. round (var, x)).
The thing that I need to do is like this:
4.146898 after rounding to 2 decimal digits => 4.15
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum