Answer:
To just print the decimal, use code (in python)
Step-by-step explanation:
number = float(input("Enter a number "))
print(number - int(number))
This code should cause the system to print just the decimals at the end of the number.
In python:
print(round(number - int(number), 2))
6.5m questions
8.6m answers