View Problem

Right Space pad a number

Given the number 1024 right pad it to 6 characters "1024  "
ExpandDiskEdit
fantom
formatted := 1024.toStr.padr(6)

Submit a new solution for fantom
There are 32 other solutions in additional languages (clojure, cpp, csharp, erlang ...)