Convert a floating point number or a Fraction instance to a decimal literal.
Number to convert. Fractions should have a power of ten denominator unless flavor is 'r'.
Numeric flavor of the literal.
Virtual AST node representing a decimal literal.
Convert a floating point number or a Fraction instance to a decimal literal.