Taking a square root of NSDecimalNumber
Taking a square root of NSDecimalNumber
- Subject: Taking a square root of NSDecimalNumber
- From: "Umed Zokirov" <email@hidden>
- Date: Mon, 01 Oct 2001 16:42:24 -0700
Hi there
I was wondering if there's a mechanism in Cocoa to raise the decimal number
fractional values: i.e 1/2, 1.3 and so on
so far my call myNumber decimalNumberByRaisingToPower: 0.5
does not work. Do I have to call pure-C functions to accomplish that ?
Thanks in advance, Umed