Created by Kim Minh Kaplan 2018-05-08 View revision File snippet.BUILD Added Side-by-side diff More Ignore whitespace Hide word diff +>>> from_dtn = 1.2 +>>> from_sql = decimal.Decimal('1.2') +>>> from_dtn == from_sql +False +>>> round(from_dtn, 1) == from_sql +False +>>> decimal.Decimal(from_dtn).quantize(decimal.Decimal('1.0')) == from_sql +True