You can use intValue() and format() methods of the Double class: Double d = 123456.78; System.debug('#### d: ' + d.intValue().format()); DEBUG|#### d: ...
確定! 回上一頁