Added scientific notation in tiDigit()