round significant(decimal, significant figures)rounded Type: For any units u(Number{u}, Number) -> Number{u}

Rounds the number to the given number of significant figures (digits at the beginning of the number).

ExamplesClick an example to insert it
round significant(3.1415927, 2)3.1
round significant(1234567, 4)1235000