mirror of
https://github.com/lampaa/com.lampa.startapp.git
synced 2026-05-01 00:00:05 +08:00
Match Double type in string extras
This commit is contained in:
@@ -61,4 +61,8 @@ public class Assets extends CordovaPlugin {
|
||||
|
||||
return field.getInt(null);
|
||||
}
|
||||
|
||||
protected boolean matchDoubleInSting(String str) {
|
||||
return (Pattern.matches("([0-9]*)\\.([0-9]*)", str));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user