Why Operations on float numbers less than 1 are returning NaN?

hi can anyone give solution to this problem,
e.g. if i do 0.25/0.25 it gives answer as “NaN”
please check myGithubRepo

    if (currentOperand.textContent.startsWith(".")) {
      currentOperand.textContent = "0. ";

Take a careful look at what you assign to currentOperand.textContent Are you sure that is the value you want to assign?

ohh… thanks
I have corrected as follows,

currentOperand.textContent = "0" + currentOperand.textContent;