mellamokb
Joined: 10 May 2007 Posts: 124
|
Posted: May 29, 2007 12:00 PM Post subject: |
|
|
Hi danp,
Try the "approx(" function to force a decimal answer. You can also put your calculator into "approx" mode or "auto" mode. Note that in "auto" mode you can get a decimal result just by entering a decimal "." as some part of the expression (for instance, include a "1." instead of just "1").
For such a simple conversion, it would be much easier to use a function instead of a program. You can just define a function that does the calculation, and then you can use it like other built-in functions. Try this on the homescreen:
| Code: |
Define dbm2watt(n)=approx(10^(n/10))/1000)
|
A lot less overhead, less memory, and easier to use! To use this, simply type "dbm2watt(53)" on the homescreen (or any other number).
Hope this helps!
~ mellamokb |
|