I need to convert float ratios to their integer equivalent
0.5:1 ---should convert to ---> 1:2
0.5:0.6:1 ---should convert to ---> 5:6:10 (smallest integer ratio)
My googling produced no results in this regard
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…