Shop OBEX P1 Docs P2 Docs Learn Events
String Format in javelin — Parallax Forums

String Format in javelin

PlaneTeeRPlaneTeeR Posts: 100
edited 2006-04-06 09:21 in General Discussion
Hello everybody,

We have a problem with the display of our bikecomputer. We need to format the output numbers to 2 digits. We have a method in Java: String formattedValue = String.format("%5.2f",value); But the format method of String is not supported until version 1.5.0. Is there a method in javelin to do this?

Greetings

Johnny & Daniel
The Netherlands

Comments

Sign In or Register to comment.