Skip to contents

Trail Zeros from the Coordinate Values

Usage

ec_trail_zero(coord)

Arguments

coord

A coordinate value in the numeric format of decimal degree

Value

A numerical trailed coordinate value.

Examples

ec_trail_zero(12.7000000)
#> [1] "12.7"
ec_trail_zero(45.000000)
#> [1] "45"