Advertisement
Guest User

Untitled

a guest
Jun 19th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.09 KB | None | 0 0
  1. converter `$`(n: float): string =
  2.   if fmod(n, 1.0) == 0:
  3.     $int(n)
  4.   else:
  5.     $n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement