Skip to contents

Get Decimal Places of Coordinate Values

Usage

decimal_places(coord)

Arguments

coord

A coordinate value in the numeric format of decimal degree

Value

a numerical value which represent the number of decimal places for the coordiante

Examples

decimal_places(12.7000000)
#> 12.7 
#>    1 
decimal_places(45.67788)
#> 45.67788 
#>        5