RPTools

Personal tools
From MapToolDoc

round

round() Function

Returns the rounded value of a number to specified precision (number of digits after the decimal point). precision can be zero (default).

Usage

  1. [h: result = round(value, precision)]

Examples

  1. [r: round(1.45)]

Returns 1

  1. [r: round(1.45, 1)]

Returns 1.5

  1. [r: round(1.44,1)]

Returns 1.4