I also encountered the same issue of very small numbers.
Indeed by using different constant value like what prod Hwang said works.
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1455.0
In this link, is an applet that has very small numbers like
Boltzmann constant and unified mass.
Check it out to see how it is done