You want to cut a ribbon in pieces of 0.82 millimeters (mm) to make a ribbon loop. Make a loop with 53.73 millimeters (mm) of ribbon and find how many centimeters (cm) of ribbon are left.
53.73 0.82 [OP_MOD] 10 [OP_DIV]
var_a = 53.73
var_b = 0.82
var_c = var_a % var_b
var_d = 10
var_e = var_c / var_d
print('{:.2f}'.format(round(var_e+1e-10,2)))