Skip to main content
Added explanation
Source Link

Excel 19 bytes $107899.616068361

="$"&CODE("(")^PI()

Explanation:

     CODE("(")        // find ASCII code of ( which is 40
              ^PI()   // raise to power of Pi  (40^3.141592654)
 "$"&                 // append $ to the front of it
=                     // set it to the cell value and display
    

Excel 19 bytes $107899.616068361

="$"&CODE("(")^PI()

Excel 19 bytes $107899.616068361

="$"&CODE("(")^PI()

Explanation:

     CODE("(")        // find ASCII code of ( which is 40
              ^PI()   // raise to power of Pi  (40^3.141592654)
 "$"&                 // append $ to the front of it
=                     // set it to the cell value and display
    
Post Undeleted by Keeta - reinstate Monica
Earlier item used numbers for code - which is disallowed
Source Link

Excel 10 19 bytes $173623$107899.23616068361

="$"&6.2^7

If it were based on the amount you type in, I could get 8 characters and $200000 by using

="$"&2E5

but if you type that in, Excel changes the code to read

="$"&200000="$"&CODE("(")^PI()

which is more characters.

Excel 10 bytes $173623.23

="$"&6.2^7

If it were based on the amount you type in, I could get 8 characters and $200000 by using

="$"&2E5

but if you type that in, Excel changes the code to read

="$"&200000

which is more characters.

Excel 19 bytes $107899.616068361

="$"&CODE("(")^PI()
Post Deleted by Keeta - reinstate Monica
Source Link

Excel 10 bytes $173623.23

="$"&6.2^7

If it were based on the amount you type in, I could get 8 characters and $200000 by using

="$"&2E5

but if you type that in, Excel changes the code to read

="$"&200000

which is more characters.