Programing style

Hershel Fisch hershf at rgllc.us
Thu Nov 16 19:33:40 EST 2006


On 11/16/06 6:53 PM, "Dar Scott" <dsc at swcp.com> wrote:

> This would be a short and maybe elegant solution, except it doesn't
> work:
> 
> function fNumericToMoney d
>   set the numberFormat to "$,.00"
>   return (d+0) & empty  -- force use of numberFormat
> end fNumericToMoney
> 
> The dollar and comma are converted to zeros.
> 
> (I think I misunderstood your question about style, earlier.)
Not the end of the world, by the way what did you by prefix?
Hershel
> 
> Dar
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list