All I need is a simple script that will format a number value (in cents) to a dollar format.

Examples:

599 -> 5.99
2000 -> 20.00
50 -> 0.50
1 -> 0.01

Thanks in advance!