trim_scale ( numeric ) → numericReduces the value's scale (number of fractional decimal digits) by removing trailing zeroes
trim_scale(8.4100) → 8.41
Functions / Mathematical Functions And Operators
Reduces the value's scale (number of fractional decimal digits) by removing trailing zeroes
Reading PG 18current·documented in 8 of 27 versions, 13 to 20
trim_scale ( numeric ) → numericReduces the value's scale (number of fractional decimal digits) by removing trailing zeroes
trim_scale(8.4100) → 8.41
Definition snapshot: b7bd9cda · English manual source