PATH  Documentation > Mac OS X > Foundation Reference: Java



Table of Contents

NSDecimalMappingBehavior


Inherits from:
Object
Package:
com.apple.yellow.foundation


Class Description


Description forthcoming.




Constants


The following constants are provided by NSDecimalMappingBehavior:


Constant Type Description
DecimalLossOfPrecisionNotification String NSDecimalLossOfPrecisionNotification
NotANumberConversionNotification String NSNotANumberConversionNotification
RoundBankers int Methods round to the closest possible return value. When they are caught halfway between two possibilities, they return the possibility whose last digit is even. In practice, this means that, over the long run, numbers will be rounded up as often as they are rounded down; there will be no systematic bias.
RoundDown int Methods round their return values down.
RoundPlain int Methods round to the closest possible return value. When they are caught halfway between two positive numbers, they round up; when caught between two negative numbers, they round down.
RoundUp int Methods round their return values up.



Method Types


TBD_Functional_Method_Group
defaultRoundingMode
getNotANumberValue
setDefaultRoundingMode
setNotANumberValue
setShouldRaiseForNotANumberArgument
shouldRaiseForNotANumberArgument


Static Methods



defaultRoundingMode

public static int defaultRoundingMode()

Description forthcoming.

getNotANumberValue

public static java.math.BigDecimal getNotANumberValue()

Description forthcoming.

setDefaultRoundingMode

public static void setDefaultRoundingMode(int anInt)

Description forthcoming.

setNotANumberValue

public static void setNotANumberValue(java.math.BigDecimal aBigDecimal)

Description forthcoming.

setShouldRaiseForNotANumberArgument

public static void setShouldRaiseForNotANumberArgument(boolean aBoolean)

Description forthcoming.

shouldRaiseForNotANumberArgument

public static boolean shouldRaiseForNotANumberArgument()

Description forthcoming.


Table of Contents