parse

abstract fun parse(string: String): Number?

Tries to parse a String into a Number

Return

A Number if the String could by parsed by this formatter, null otherwise.

Parameters

string

The String to parse.