If object is num then return it otherwise throw FormatException
num asNum([num? defaultValue]) { return _getValue<num>(defaultValue); }