Programing style

Dar Scott dsc at swcp.com
Thu Nov 16 18:53:09 EST 2006


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.)

Dar




More information about the use-livecode mailing list