DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
android studio reg get float from numeric string
float f = Float.valueOf("25.5sp.".replaceAll("[^d.]+|.(?!d)", "")); // f = 25.5
PREVIOUS
NEXT
Tagged:
#android
#studio
#reg
#float
#numeric
#string
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit