[OpenLayers-Users] limit decimal numbers

Alessio Di Lorenzo alessio.dilorenzo at gmail.com
Mon Sep 15 05:10:19 EDT 2008


Hi list,

I created a function returning the current map extent and updating values
every time the user pan or zoom the map. 

The function works fine and the effect is what I was looking for, but now I
need to control how many decimal numbers appear after the comma separator. 
For example I want to display always 5 decimal numbers after the comma... 
There's a way to do such thing? 

Thanks, alessio 
-- 
View this message in context: http://www.nabble.com/limit-decimal-numbers-tp19489465p19489465.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list