Parses source as a decimal literal and returns its value as Decimal.
source
static Decimal? tryParse(String source) { try { return Decimal.parse(source); } on FormatException { return null; } }