This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]