BenSelect Documentation
Round Method
See Also  Send Feedback
Selerix.BusinessObjects.View.Census Namespace > ColumnScriptEvent Class : Round Method
d
A decimal number to round.
decimals
A value from 0 to 28 that specifies the number of decimal places to round to.
Rounds a Decimal value to a specified number of decimal places.

Syntax

JScript 
public function Round( 
   d : decimal,
   decimals : int
) : decimal;

Parameters

d
A decimal number to round.
decimals
A value from 0 to 28 that specifies the number of decimal places to round to.

Return Value

The decimal number equivalent to d rounded to decimals number of decimal places.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.