Microsoft interview question

Convert string to float

Interview Answer

Anonymous

4 Sept 2020

locate the decimal point and there after move left multipling 10 and move right dividing by 10