[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Convert the sign of a number
You sort of assumed right (oops), but that wouldn't quite work. I think it's the UnitsTraded that I'm working on, at least, that's what I think I'm working on. And in my example UnitsTraded = -00000001000. So Taking a CurrentBalance of 0, I need to have CurrentBalance = 1000 >>>>>>>>>>>>>>>> And I'm such a nonce, I've just figured it out. Surely CurrentBalance - UnitsTraded would give me what I want. Keep forgetting that ([- -] = +) and ([- +] = -) Sorry to have bothered you with something that was too easy. Guess I've got too much else on my mind? Cheers though. Daniel. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|