RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Latitude (decimal)
Expression
^-?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$
Description
[-90.000000 ... 90.000000] Decimal places: up to 6. You can increase precision by replacing {1,6} with {1,your_number}
Matches
-90; -90.0; -89.99; 0; 0.000; 89.99; 90.0; 90
Non-Matches
-100; -90.1; 90.01; 100
Author Rating: The rating for this expression. Zygimantas Berziunas
Source http://www.berziunas.com
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials