You tried tried Round (x,0) I have this solution for long integers ill re-write it when I get in my office
- sent via mobile iOS5 On 2013-03-11, at 7:21 AM, Gunter Becker <gunter.bec...@csogis.de> wrote: > Hi, > > formatting a number to a decimal with 2 decimal places could be solved by > using > > Round(myPropery,2) > > So, 31.456 gives 31.46 > > But when myProperty is an integer then I would like to have for example > 30.00. But the expression engine always returns just "30" without the 2 > decimal places. How can I solve this? > > This drives my crazy cause I think I've found the solution in the past! > > Gunter > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Expression-format-float-to-decimal-with-2-decimal-places-tp5039545.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users