from decimal import Decimal value = Decimal('10.53') % 1print(value) # 0.53
Standard input is empty
0.53
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!