A
A
Arthur2017-02-28 21:23:26
ASP.NET
Arthur, 2017-02-28 21:23:26

How can double be validated via jquery.validate?

Kind people, help!
I've been sitting on such a trifle for an hour now, it's already pleasant in my soul. Properties in the model:

[Range(Double.MinValue, Double.MaxValue)]
public double? Lng { get; set; }
[Range(Double.MinValue, Double.MaxValue)]
public double? Lat { get; set; }

Input value example: 42.56894, 5 decimal places. Not validated...
9bba0e292a444a278f94d347a2086d0c.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question