Run ❯
Get your
own Java
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { String result = String.format("%2$,3.2f %1$s", "meters", 1260.5052); System.out.println(result); } }
1,260.51 meters