scala:Convert a String to a Number

From Progzoo
Revision as of 20:14, 16 February 2015 by Andr3w (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

toInt is the method that you need here. You also have access to all of the java.lang things such as java.lang.Integer.parseInt

See also:

  • toDouble
  • toLong


[Font] [Default] [Show] [Resize] [History] [Profile]