Use the @DecimalMin
annotation.
You will need to pass a literal String value, because the attrubute value
must be constant (String.valueOf(- Math.PI)) doesn’t work.
It works to validate Double attributes.
@DecimalMin(value = "0.01", message = "Your message...")
private Double longitude;