Fluent Assertions Documentation
FluentAssertions Namespace / NumericAssertionsExtensions Class / BeApproximately Method
In This Topic
    BeApproximately Method
    In This Topic
    Asserts a floating point value approximates another value as close as possible.
    Overload List
    OverloadDescription
    Asserts a floating point value approximates another value as close as possible.  
    Asserts a floating point value approximates another value as close as possible. Does not throw if null subject value approximates null expectedValue value.  
    Asserts a floating point value approximates another value as close as possible.  
    Asserts a double value approximates another value as close as possible.  
    Asserts a double value approximates another value as close as possible. Does not throw if null subject value approximates null expectedValue value.  
    Asserts a double value approximates another value as close as possible.  
    Asserts a decimal value approximates another value as close as possible.  
    Asserts a decimal value approximates another value as close as possible. Does not throw if null subject value approximates null expectedValue value.  
    Asserts a decimal value approximates another value as close as possible.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also