>>
Why make it simple ?
How about this:
;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
lk
Subject: Make Number Negative
Chaps,
I'm looking for the best way to make a positive number into a negative one, so
if I have '10' I'm looking to convert that to '-10' what's the best way to
achieve this?
Thanks,
Rob
~~
0 minus your number works too. To ensure a negative number, use abs():
Jake
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/f
On Wednesday 13 Jun 2007, Robert Rawlins - Think Blue wrote:
> I'm looking for the best way to make a positive number into a negative one,
> so if I have '10' I'm looking to convert that to '-10' what's the best way
> to achieve this?
Subtract itself twice.
--
Tom Chiverton
Helping to evangelist
Multiply by -1 =)
Chris
~|
ColdFusion 8 beta â Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
http://www.houseoffusion.com
Chaps,
I'm looking for the best way to make a positive number into a negative one,
so if I have '10' I'm looking to convert that to '-10' what's the best way
to achieve this?
Thanks,
Rob
~|
ColdFusion MX7 and Flex 2
6 matches
Mail list logo