• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
Workflow Studio Developer Network

RoundNumber

RoundNumber

Returns a number rounded to a specified number of decimal places based on a specified rounding mode.

Properties

RoundingMode
Type: System.MidpointRounding
Specifies how mathematical rounding methods should process a number that is midway between two numbers. For example, 'Even' rounds both 1.5 and 2.5 to 2; 'AwayFromZero' rounds 1.5 to 2 and 2.5 to 3. Defaults to 'AwayFromZero'.

InputNumber
Type: System.Object
Specifies a number that will be rounded. Can be specified as a literal or by binding to a parameter.

NumberofDecimalPlaces
Type: System.Object
Specifies a number indicating how many places to the right of the decimal are included when rounding. If passed in a decimal value, it will be converted to an integer and any decimal places truncated.

Output
Type: System.Object
Contains the rounded number as a Decimal value. This is a read-only output parameter.

Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links