own FormatNumber, pretty raw but works fine