SDT calc: Fixed error

Fixed wrong variable being converted into a float