Rounds a floating-point value to the of fractional digits (between 0 and 15).

 

Properties

  • float: Location of the number to round
  • precision: Precision of the decimal place E.g ‘1’for rounding to the tenths decimal

Output

  • output-location: Location to store the output data

For example

1.123 will become 1.12 if the precision is set to ‘2’ decimal place

0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments