When i was dealing with latitude i had the same problem.
I decided to not save the latitude and longtitude, but to use web
service to do it for me.
I am saving just the result of computation, beeing done on longtitude
and latitude.
You may always divide a number into n parts, and each should have
I will try later.
2009/7/28 Leonardo Pessoa
>
> Usually when i need to use decimal numbers I use java BigDecimal class
> and the field in the database are NUMERIC.
> Always solved my problem why don't you try??
>
> >
>
--
Wladiston MaurĂcio de Paiva
desenvolvedo...@gmail.com
e...@wladistonpai
Usually when i need to use decimal numbers I use java BigDecimal class
and the field in the database are NUMERIC.
Always solved my problem why don't you try??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Java EE (
private Double latitude;
private Double longitude;
/**
* @return the latitude
*/
@NotNull
@Min( value = -90 )
@Max( value = 90 )
public Double getLatitude() {
return latitude;
}
/**
* @param latitude the latitude to set
*/
public