fix number parsing in calculator (support e notation)

this fixes contrast/brightness going bonkers