numberOfDecimalPlaces property

int numberOfDecimalPlaces

Number of places for decimal element (for other is 0)

Implementation

int get numberOfDecimalPlaces =>
    (code.length == 4) ? int.parse(code[3], radix: 10) : 0;