toDDString

fun toDDString(digits: Int = 6): String

Forms a decimal degrees String representation of this Angle.

Return

the value of this angle in decimal degrees as a string with the specified number of digits beyond the decimal point. The string is padded with trailing zeros to fill the number of post-decimal point positions requested.

Parameters

digits

the number of digits past the decimal point to include in the string.