Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=180300012

Script, Scripting Language, VBScript elements, Server-Side VBScript Function Math Function Int Fix,Round Function

VBScript Math Functions

Functions for manipulating mathematics expression.

CInt Function

last updated 9/17/2017

Create an Integer data subtype value from a given expression.

Syntax

CInt(expression)

Argument

expressionRequired. Any valid numeric expression that is used for the evaluation of the CInt result.

Returns

Returns a Variant of Integer data subtype obtained by converting the data type of a given expression to Integer data subtype.

Returns of function:

expressionreturn valueBoolean False0valid numeric expression.TypeName(CInt(expression))=IntegerBoolean True-1

Special returns of function:

expressionreturn valueNullRun-time ErrorEmpty0""Run-time Error

Remarks

  • CInt function convert a given expression to a Variant of Integer data subtype by evaluate the CInt result of the given expression.
  • CInt function returns Run-time error for any invalid given expression.
  • The return value of CInt function is always rounded to an integer.
  • A Boolean expression contains True result is converted to a Integer containing -1.
  • A Boolean expression contains False result is converted to a Integer containing 0.
  • CInt function returns 0 if a given expression contains Empty. However, CInt function returns Run-time error if a given expression contains zero-length string, "".
  • The conversion of CInt function forces other data type arithmetic, such as byte, Single-precision, Double-precision, currency, or Long arithmetic to Integer type arithmetic only.
  • The conversion of CInt function uses local system settings to determine the format of conversion, such as decimal separators, or thousand separators when necessary.

Requirement

1

Int Function

last updated 9/19/2017

Create an integer value of a given number that is less than or equal to the given number.

Syntax

Int(number)

Argument

numberRequired. Any valid numeric expression

Returns

Returns a Variant of the same given number data subtype containing the integer value of a given number that is less than or equal to the given number.

Special returns of Int function:

numberreturn valueNullNullEmpty0""Run-time Error

Remarks

  • Int function is to convert a given numeric expression to a numberic expression with an integer value less than or equal to the given numeric expression.
  • Fix function is to convert a given numeric expression to a numberic expression with only integer value by removing the fractional part or non-integer part of the given number.
  • Round function is to convert a given numeric expression to a numberic expression according to the number of decimal places specified by numdecimalplace using the round to nearest method and following the round half to even rule. If numdecimalplace argument is omitted or equal to zero, an rounded integer value of a given numeric expression is returned.

Requirement

1

Fix Function

last updated 9/19/2017

Create an integer value of a given number that is equal to the integer part of the given number by removing the fractional part or non-integer part of the given number.

Syntax

Fix(number)

Argument

numberRequired. Any valid numeric expression

Returns

Returns a Variant of the same given number data subtype containing the integer value of a given number that is equal to the integer part of the given number by removing the fractional part or non-integer part of the given number.

Special returns of Int function:

numberreturn valueNullNullEmpty0""Run-time Error

Remarks

  • Int function is to convert a given numeric expression to a numberic expression with an integer value less than or equal to the given numeric expression.
  • Fix function is to convert a given numeric expression to a numberic expression with only integer value by removing the fractional part or non-integer part of the given number.
  • Round function is to convert a given numeric expression to a numberic expression according to the number of decimal places specified by numdecimalplace using the round to nearest method and following the round half to even rule. If numdecimalplace argument is omitted or equal to zero, an rounded integer value of a given numeric expression is returned.
  • Fix(number) function is equivalent to Sgn(number)*Int(Abs(number))

Requirement

1

Examples

Examples of Int, Fix functions

ASP VbScript Command:
<script runat="server" language="VBScript">
Dim vars,num,cmda,var:var=0
cmda=array("num","Int(num)","Fix(num)","Round(num)")
Dim ucnt,tmp,i:ucnt=UBound(cmda):If var=1 Then:tmp="":Else:tmp="<b>vars</b>":End If:For i=0 to ucnt:tmp=tmp&"<b>"&rmv_ctrl(cmda(i))&", TypeName</b>":Next:Response.Write "Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp<br />"&"<i>"&tmp&"</i>"
Function dsp_x:Dim tmp_a,tmp_b,i:If varx=0  Then:Execute vars:End If:If var=1 Then:tmp_a="":Else:tmp_a=rmv_ctrl(vars):End If:For i=0 to ucnt:tmp_b=cmd_b(cmda(i)):if i/2=fix(i/2) Then:tmp_b="<b>"&tmp_b&"</b>":End If:tmp_a=tmp_a&tmp_b:Next:Response.Write "<i>"&tmp_a&"</i>":End Function
Function rmv_ctrl(blk_str):Select Case blk_str:Case chr(0):blk_str="NUL":Case chr(1):blk_str="SOH":Case chr(2):blk_str="STX":Case chr(3):blk_str="ETX":Case chr(4):blk_str="EOT":Case chr(5):blk_str="ENQ":Case chr(6):blk_str="ACK":Case chr(7):blk_str="BEL":Case chr(8):blk_str="BS":Case chr(9):blk_str="HT":Case chr(10):blk_str="LF":Case chr(11):blk_str="VT":Case chr(12):blk_str="FF":Case chr(13):blk_str="CR":Case chr(14):blk_str="SO":Case chr(15):blk_str="SI":Case chr(16):blk_str="DLE":Case chr(17):blk_str="DC1":Case chr(18):blk_str="DC2":Case chr(19):blk_str="DC3":Case chr(20):blk_str="DC4":Case chr(21):blk_str="NAK":Case chr(22):blk_str="SYN":Case chr(23):blk_str="ETB":Case chr(24):blk_str="CAN":Case chr(25):blk_str="EM":Case chr(26):blk_str="SUB":Case chr(27):blk_str="ESC":Case chr(28):blk_str="FS":Case chr(29):blk_str="GS":Case chr(30):blk_str="RS":Case chr(31):blk_str="US":Case chr(127):blk_str="DEL":End Select:rmv_ctrl=blk_str:If IsNull(blk_str) OR IsEmpty(Blk_str) OR blk_str="" OR IsNumeric(Blk_str) Then:Else:rmv_ctrl=Replace(Replace(Replace(Replace(Replace(blk_str,"&","&amp;"),"  "," &nbsp;"),"""","&quot;"),"<","&lt;"),">","&gt;"): End If :End Function
Function cmd_b(blk_str):cmd_b="["&cmd_x(blk_str)&"], "&cmd_x("TypeName("&blk_str&")"):End Function
Function cmd_x(blk_str):On Error Resume Next:Dim xans, tmp:xans="":tmp="":execute "xans="&blk_str:If Err.Number <> 0  Then:xans=cmd_x("TypeName("&blk_str&")"):Select Case xans:Case 9::Case Else:xans="error":End Select:End If:If IsArray(xans)=False Then:cmd_x=rmv_ctrl(xans): Else:tmp=lst_arry(xans):cmd_x=trim(tmp):End If:End Function
Function lst_arry(blk_str):Dim tmp,i,q:q="""":tmp="":For i=0 to UBound(blk_str):if VarType(blk_str(i))>1 And VarType(blk_str(i))<6 Then:q="'":End If:tmp=tmp&" "&q&rmv_ctrl(blk_str(i))&q:Next:lst_arry=trim(tmp):End Function

vars="num=Null":x=1:dsp_x
vars="num=Empty":x=1:dsp_x
vars="num=""""":dsp_x
vars="num=0":dsp_x
vars="num=4":dsp_x
vars="num=4E103":dsp_x
vars="num=4E-103":dsp_x
vars="num=-4":dsp_x
vars="num=-4E103":dsp_x
vars="num=-4E-103":dsp_x
vars="num=12.142":dsp_x
vars="num=12.968":dsp_x
vars="num=-12.142":dsp_x
vars="num=-12.968":dsp_x
vars="num=11.535":dsp_x
vars="num=11.525":dsp_x
vars="num=-11.525":dsp_x
vars="num=-11.535":dsp_x
vars="num=5.555":dsp_x
vars="num=-5.555":dsp_x
vars="num=12.565":dsp_x
vars="num=-12.575":dsp_x
vars="num=13.152":dsp_x
vars="num=-13.152":dsp_x
vars="num=13.848":dsp_x
vars="num=-13.868":dsp_x
vars="num=13.555":dsp_x
vars="num=-13.545":dsp_x
</script>
HTML Web Page In-line Output:
Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp
varsnum, TypeNameInt(num), TypeNameFix(num), TypeNameRound(num), TypeNamenum=Null[], Null[], Null[], Null[error], errornum=Empty[], Empty[0], Integer[0], Integer[0], Integernum=""[], String[error], error[error], error[error], errornum=0[0], Integer[0], Integer[0], Integer[0], Integernum=4[4], Integer[4], Integer[4], Integer[4], Integernum=4E103[4E+103], Double[4E+103], Double[4E+103], Double[4E+103], Doublenum=4E-103[4E-103], Double[0], Double[0], Double[0], Doublenum=-4[-4], Integer[-4], Integer[-4], Integer[-4], Integernum=-4E103[-4E+103], Double[-4E+103], Double[-4E+103], Double[-4E+103], Doublenum=-4E-103[-4E-103], Double[-1], Double[-0], Double[0], Doublenum=12.142[12.142], Double[12], Double[12], Double[12], Doublenum=12.968[12.968], Double[12], Double[12], Double[13], Doublenum=-12.142[-12.142], Double[-13], Double[-12], Double[-12], Doublenum=-12.968[-12.968], Double[-13], Double[-12], Double[-13], Doublenum=11.535[11.535], Double[11], Double[11], Double[12], Doublenum=11.525[11.525], Double[11], Double[11], Double[12], Doublenum=-11.525[-11.525], Double[-12], Double[-11], Double[-12], Doublenum=-11.535[-11.535], Double[-12], Double[-11], Double[-12], Doublenum=5.555[5.555], Double[5], Double[5], Double[6], Doublenum=-5.555[-5.555], Double[-6], Double[-5], Double[-6], Doublenum=12.565[12.565], Double[12], Double[12], Double[13], Doublenum=-12.575[-12.575], Double[-13], Double[-12], Double[-13], Doublenum=13.152[13.152], Double[13], Double[13], Double[13], Doublenum=-13.152[-13.152], Double[-14], Double[-13], Double[-13], Doublenum=13.848[13.848], Double[13], Double[13], Double[14], Doublenum=-13.868[-13.868], Double[-14], Double[-13], Double[-14], Doublenum=13.555[13.555], Double[13], Double[13], Double[14], Doublenum=-13.545[-13.545], Double[-14], Double[-13], Double[-14], Double

Round Function

last updated 9/21/2017

Create a numeric value of a given numeric expression according to the number of decimal places specified by numdecimalplace using the round to nearest method and following the round half to even rule that is to return the possible numeric value closest to the value of the numeric expression with the appropriate number of decimal, and following the closest to the round halt to even rule when the numeric expression is exactly halfway between two possible rounded values.

Syntax

Round(expression[, numdecimalplaces])

Argument

expressionRequired. Numeric expression being rounded.numdecimalplacesOptional. Number indicating how many places to the right of the decimal are included in the rounding. If omitted, integer value is returned by the Round function.

Returns

Returns a Variant of the same given number data subtype containing the rounded part of a given number that is to round a given numeric expression according to the number of decimal places specified by numdecimalplace using the round to nearest method and following the round half to even rule.

Special returns of Round function:

numberreturn valueNullRun-time ErrorEmpty0""Run-time Error

Remarks

  • Int function is to convert a given numeric expression to a numberic expression with an integer value less than or equal to the given numeric expression.
  • Fix function is to convert a given numeric expression to a numberic expression with only integer value by removing the fractional part or non-integer part of the given number.
  • Round function is to convert a given numeric expression to a numberic expression according to the number of decimal places specified by numdecimalplace using the round to nearest method and following the round half to even rule. If numdecimalplace argument is omitted or equal to zero, an rounded integer value of a given numeric expression is returned.
  • Round function performs round halt to even rule. Round half to even is a statistically more accurate rounding algorithm than round half to larger.
  • The return value of Round function is the numeric value closest to the value of numeric expression, with the appropriate number of decimal places.
  • If numeric expression is exactly halfway between two possible rounded values, the Round function returns the possible rounded value with a closest even rightmost digit by replacing the odd figure of the odd rightmost digit with the immediately greater even figure.

Requirement

2

Examples

Examples of Round functions

ASP VbScript Command:
<script runat="server" language="VBScript">
Function cmda1:cmda1="Round(num,ndp)":cmda1=Left(cmda1,Len(cmda1)-4*(2-x)-1)&")":End Function
Dim vars,num,cmda,var:var=0
cmda=array("num","Eval(""cmda1"")","Eval(Eval(""cmda1""))")
Dim ucnt,tmp,i:ucnt=UBound(cmda):If var=1 Then:tmp="":Else:tmp="<b>vars</b>":End If:For i=0 to ucnt:tmp=tmp&"<b>"&rmv_ctrl(cmda(i))&", TypeName</b>":Next:Response.Write "Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp<br />"&"<i>"&tmp&"</i>"
Function dsp_x:Dim tmp_a,tmp_b,i:If varx=0  Then:Execute vars:End If:If var=1 Then:tmp_a="":Else:tmp_a=rmv_ctrl(vars):End If:For i=0 to ucnt:tmp_b=cmd_b(cmda(i)):if i/2=fix(i/2) Then:tmp_b="<b>"&tmp_b&"</b>":End If:tmp_a=tmp_a&tmp_b:Next:Response.Write "<i>"&tmp_a&"</i>":End Function
Function rmv_ctrl(blk_str):Select Case blk_str:Case chr(0):blk_str="NUL":Case chr(1):blk_str="SOH":Case chr(2):blk_str="STX":Case chr(3):blk_str="ETX":Case chr(4):blk_str="EOT":Case chr(5):blk_str="ENQ":Case chr(6):blk_str="ACK":Case chr(7):blk_str="BEL":Case chr(8):blk_str="BS":Case chr(9):blk_str="HT":Case chr(10):blk_str="LF":Case chr(11):blk_str="VT":Case chr(12):blk_str="FF":Case chr(13):blk_str="CR":Case chr(14):blk_str="SO":Case chr(15):blk_str="SI":Case chr(16):blk_str="DLE":Case chr(17):blk_str="DC1":Case chr(18):blk_str="DC2":Case chr(19):blk_str="DC3":Case chr(20):blk_str="DC4":Case chr(21):blk_str="NAK":Case chr(22):blk_str="SYN":Case chr(23):blk_str="ETB":Case chr(24):blk_str="CAN":Case chr(25):blk_str="EM":Case chr(26):blk_str="SUB":Case chr(27):blk_str="ESC":Case chr(28):blk_str="FS":Case chr(29):blk_str="GS":Case chr(30):blk_str="RS":Case chr(31):blk_str="US":Case chr(127):blk_str="DEL":End Select:rmv_ctrl=blk_str:If IsNull(blk_str) OR IsEmpty(Blk_str) OR blk_str="" OR IsNumeric(Blk_str) Then:Else:rmv_ctrl=Replace(Replace(Replace(Replace(Replace(blk_str,"&","&amp;"),"  "," &nbsp;"),"""","&quot;"),"<","&lt;"),">","&gt;"): End If :End Function
Function cmd_b(blk_str):cmd_b="["&cmd_x(blk_str)&"], "&cmd_x("TypeName("&blk_str&")"):End Function
Function cmd_x(blk_str):On Error Resume Next:Dim xans, tmp:xans="":tmp="":execute "xans="&blk_str:If Err.Number <> 0  Then:xans=cmd_x("TypeName("&blk_str&")"):Select Case xans:Case 9::Case Else:xans="error":End Select:End If:If IsArray(xans)=False Then:cmd_x=rmv_ctrl(xans): Else:tmp=lst_arry(xans):cmd_x=trim(tmp):End If:End Function
Function lst_arry(blk_str):Dim tmp,i,q:q="""":tmp="":For i=0 to UBound(blk_str):if VarType(blk_str(i))>1 And VarType(blk_str(i))<6 Then:q="'":End If:tmp=tmp&" "&q&rmv_ctrl(blk_str(i))&q:Next:lst_arry=trim(tmp):End Function

vars="num=Null":x=1:dsp_x
vars="num=Empty":x=1:dsp_x
vars="num=""""":dsp_x
vars="num=0":dsp_x
vars="num=4":x=1:dsp_x
vars="num=4:ndp=0":x=2:dsp_x
vars="num=4:ndp=1":dsp_x
vars="num=4E103":x=1:dsp_x
vars="num=4E103:ndp=0":x=2:dsp_x
vars="num=4E103:ndp=1":dsp_x
vars="num=4E-103":x=1:dsp_x
vars="num=4E-103:ndp=0":x=2:dsp_x
vars="num=4E-103:ndp=1":dsp_x
vars="num=-4":x=1:dsp_x
vars="num=-4:ndp=0":x=2:dsp_x
vars="num=-4:ndp=1":dsp_x
vars="num=-4E103":x=1:dsp_x
vars="num=-4E103:ndp=0":x=2:dsp_x
vars="num=-4E103:ndp=1":dsp_x
vars="num=-4E-103":x=1:dsp_x
vars="num=-4E-103:ndp=0":x=2:dsp_x
vars="num=-4E-103:ndp=1":dsp_x
vars="num=12.142":x=1:dsp_x
vars="num=12.142:ndp=0":x=2:dsp_x
vars="num=12.142:ndp=1":dsp_x
vars="num=12.142:ndp=2":dsp_x
vars="num=12.142:ndp=3":dsp_x
vars="num=12.142:ndp=4":dsp_x
vars="num=12.968":x=1:dsp_x
vars="num=12.968:ndp=0":x=2:dsp_x
vars="num=12.968:ndp=1":dsp_x
vars="num=12.968:ndp=2":dsp_x
vars="num=12.968:ndp=3":dsp_x
vars="num=12.968:ndp=4":dsp_x
vars="num=-12.142":x=1:dsp_x
vars="num=-12.142:ndp=0":x=2:dsp_x
vars="num=-12.142:ndp=1":dsp_x
vars="num=-12.142:ndp=2":dsp_x
vars="num=-12.142:ndp=3":dsp_x
vars="num=-12.142:ndp=4":dsp_x
vars="num=-12.968":x=1:dsp_x
vars="num=-12.968:ndp=0":x=2:dsp_x
vars="num=-12.968:ndp=1":dsp_x
vars="num=-12.968:ndp=2":dsp_x
vars="num=-12.968:ndp=3":dsp_x
vars="num=-12.968:ndp=4":dsp_x
vars="num=11.535":x=1:dsp_x
vars="num=11.535:ndp=0":x=2:dsp_x
vars="num=11.535:ndp=1":dsp_x
vars="num=11.535:ndp=2":dsp_x
vars="num=11.535:ndp=3":dsp_x
vars="num=11.535:ndp=4":dsp_x
vars="num=11.525":x=1:dsp_x
vars="num=11.525:ndp=0":x=2:dsp_x
vars="num=11.525:ndp=1":dsp_x
vars="num=11.525:ndp=2":dsp_x
vars="num=11.525:ndp=3":dsp_x
vars="num=11.525:ndp=4":dsp_x
vars="num=-11.525":x=1:dsp_x
vars="num=-11.525:ndp=0":x=2:dsp_x
vars="num=-11.525:ndp=1":dsp_x
vars="num=-11.525:ndp=2":dsp_x
vars="num=-11.525:ndp=3":dsp_x
vars="num=-11.525:ndp=4":dsp_x
vars="num=-11.535":x=1:dsp_x
vars="num=-11.535:ndp=0":x=2:dsp_x
vars="num=-11.535:ndp=1":dsp_x
vars="num=-11.535:ndp=2":dsp_x
vars="num=-11.535:ndp=3":dsp_x
vars="num=-11.535:ndp=4":dsp_x
vars="num=5.555":x=1:dsp_x
vars="num=5.555:ndp=0":x=2:dsp_x
vars="num=5.555:ndp=1":dsp_x
vars="num=5.555:ndp=2":dsp_x
vars="num=5.555:ndp=3":dsp_x
vars="num=5.555:ndp=4":dsp_x
vars="num=-5.555":x=1:dsp_x
vars="num=-5.555:ndp=0":x=2:dsp_x
vars="num=-5.555:ndp=1":dsp_x
vars="num=-5.555:ndp=2":dsp_x
vars="num=-5.555:ndp=3":dsp_x
vars="num=-5.555:ndp=4":dsp_x
vars="num=12.565":x=1:dsp_x
vars="num=12.565:ndp=0":x=2:dsp_x
vars="num=12.565:ndp=1":dsp_x
vars="num=12.565:ndp=2":dsp_x
vars="num=12.565:ndp=3":dsp_x
vars="num=12.565:ndp=4":dsp_x
vars="num=-12.575":x=1:dsp_x
vars="num=-12.575:ndp=0":x=2:dsp_x
vars="num=-12.575:ndp=1":dsp_x
vars="num=-12.575:ndp=2":dsp_x
vars="num=-12.575:ndp=3":dsp_x
vars="num=-12.575:ndp=4":dsp_x
vars="num=13.152":x=1:dsp_x
vars="num=13.152:ndp=0":x=2:dsp_x
vars="num=13.152:ndp=1":dsp_x
vars="num=13.152:ndp=2":dsp_x
vars="num=13.152:ndp=3":dsp_x
vars="num=13.152:ndp=4":dsp_x
vars="num=-13.152":x=1:dsp_x
vars="num=-13.152:ndp=0":x=2:dsp_x
vars="num=-13.152:ndp=1":dsp_x
vars="num=-13.152:ndp=2":dsp_x
vars="num=-13.152:ndp=3":dsp_x
vars="num=-13.152:ndp=4":dsp_x
vars="num=13.848":x=1:dsp_x
vars="num=13.848:ndp=0":x=2:dsp_x
vars="num=13.848:ndp=1":dsp_x
vars="num=13.848:ndp=2":dsp_x
vars="num=13.848:ndp=3":dsp_x
vars="num=13.848:ndp=4":dsp_x
vars="num=-13.868":x=1:dsp_x
vars="num=-13.868:ndp=0":x=2:dsp_x
vars="num=-13.868:ndp=1":dsp_x
vars="num=-13.868:ndp=2":dsp_x
vars="num=-13.868:ndp=3":dsp_x
vars="num=-13.868:ndp=4":dsp_x
vars="num=13.555":x=1:dsp_x
vars="num=13.555:ndp=0":x=2:dsp_x
vars="num=13.555:ndp=1":dsp_x
vars="num=13.555:ndp=2":dsp_x
vars="num=13.555:ndp=3":dsp_x
vars="num=13.555:ndp=4":dsp_x
vars="num=-13.545":x=1:dsp_x
vars="num=-13.545:ndp=0":x=2:dsp_x
vars="num=-13.545:ndp=1":dsp_x
vars="num=-13.545:ndp=2":dsp_x
vars="num=-13.545:ndp=3":dsp_x
vars="num=-13.545:ndp=4":dsp_x
</script>
HTML Web Page In-line Output:
Results on Microsoft Windows 8.1 Pro x64, Microsoft-IIS/8.5, VBScript Version 5.8 of page /internet/users/sideblog/default.asp
varsnum, TypeNameEval("cmda1"), TypeNameEval(Eval("cmda1")), TypeNamenum=Null[], Null[Round(num)], String[error], errornum=Empty[], Empty[Round(num)], String[0], Integernum=""[], String[Round(num)], String[error], errornum=0[0], Integer[Round(num)], String[0], Integernum=4[4], Integer[Round(num)], String[4], Integernum=4:ndp=0[4], Integer[Round(num,ndp)], String[4], Integernum=4:ndp=1[4], Integer[Round(num,ndp)], String[4], Integernum=4E103[4E+103], Double[Round(num)], String[4E+103], Doublenum=4E103:ndp=0[4E+103], Double[Round(num,ndp)], String[4E+103], Doublenum=4E103:ndp=1[4E+103], Double[Round(num,ndp)], String[4E+103], Doublenum=4E-103[4E-103], Double[Round(num)], String[0], Doublenum=4E-103:ndp=0[4E-103], Double[Round(num,ndp)], String[0], Doublenum=4E-103:ndp=1[4E-103], Double[Round(num,ndp)], String[0], Doublenum=-4[-4], Integer[Round(num)], String[-4], Integernum=-4:ndp=0[-4], Integer[Round(num,ndp)], String[-4], Integernum=-4:ndp=1[-4], Integer[Round(num,ndp)], String[-4], Integernum=-4E103[-4E+103], Double[Round(num)], String[-4E+103], Doublenum=-4E103:ndp=0[-4E+103], Double[Round(num,ndp)], String[-4E+103], Doublenum=-4E103:ndp=1[-4E+103], Double[Round(num,ndp)], String[-4E+103], Doublenum=-4E-103[-4E-103], Double[Round(num)], String[0], Doublenum=-4E-103:ndp=0[-4E-103], Double[Round(num,ndp)], String[0], Doublenum=-4E-103:ndp=1[-4E-103], Double[Round(num,ndp)], String[0], Doublenum=12.142[12.142], Double[Round(num)], String[12], Doublenum=12.142:ndp=0[12.142], Double[Round(num,ndp)], String[12], Doublenum=12.142:ndp=1[12.142], Double[Round(num,ndp)], String[12.1], Doublenum=12.142:ndp=2[12.142], Double[Round(num,ndp)], String[12.14], Doublenum=12.142:ndp=3[12.142], Double[Round(num,ndp)], String[12.142], Doublenum=12.142:ndp=4[12.142], Double[Round(num,ndp)], String[12.142], Doublenum=12.968[12.968], Double[Round(num)], String[13], Doublenum=12.968:ndp=0[12.968], Double[Round(num,ndp)], String[13], Doublenum=12.968:ndp=1[12.968], Double[Round(num,ndp)], String[13], Doublenum=12.968:ndp=2[12.968], Double[Round(num,ndp)], String[12.97], Doublenum=12.968:ndp=3[12.968], Double[Round(num,ndp)], String[12.968], Doublenum=12.968:ndp=4[12.968], Double[Round(num,ndp)], String[12.968], Doublenum=-12.142[-12.142], Double[Round(num)], String[-12], Doublenum=-12.142:ndp=0[-12.142], Double[Round(num,ndp)], String[-12], Doublenum=-12.142:ndp=1[-12.142], Double[Round(num,ndp)], String[-12.1], Doublenum=-12.142:ndp=2[-12.142], Double[Round(num,ndp)], String[-12.14], Doublenum=-12.142:ndp=3[-12.142], Double[Round(num,ndp)], String[-12.142], Doublenum=-12.142:ndp=4[-12.142], Double[Round(num,ndp)], String[-12.142], Doublenum=-12.968[-12.968], Double[Round(num)], String[-13], Doublenum=-12.968:ndp=0[-12.968], Double[Round(num,ndp)], String[-13], Doublenum=-12.968:ndp=1[-12.968], Double[Round(num,ndp)], String[-13], Doublenum=-12.968:ndp=2[-12.968], Double[Round(num,ndp)], String[-12.97], Doublenum=-12.968:ndp=3[-12.968], Double[Round(num,ndp)], String[-12.968], Doublenum=-12.968:ndp=4[-12.968], Double[Round(num,ndp)], String[-12.968], Doublenum=11.535[11.535], Double[Round(num)], String[12], Doublenum=11.535:ndp=0[11.535], Double[Round(num,ndp)], String[12], Doublenum=11.535:ndp=1[11.535], Double[Round(num,ndp)], String[11.5], Doublenum=11.535:ndp=2[11.535], Double[Round(num,ndp)], String[11.54], Doublenum=11.535:ndp=3[11.535], Double[Round(num,ndp)], String[11.535], Doublenum=11.535:ndp=4[11.535], Double[Round(num,ndp)], String[11.535], Doublenum=11.525[11.525], Double[Round(num)], String[12], Doublenum=11.525:ndp=0[11.525], Double[Round(num,ndp)], String[12], Doublenum=11.525:ndp=1[11.525], Double[Round(num,ndp)], String[11.5], Doublenum=11.525:ndp=2[11.525], Double[Round(num,ndp)], String[11.52], Doublenum=11.525:ndp=3[11.525], Double[Round(num,ndp)], String[11.525], Doublenum=11.525:ndp=4[11.525], Double[Round(num,ndp)], String[11.525], Doublenum=-11.525[-11.525], Double[Round(num)], String[-12], Doublenum=-11.525:ndp=0[-11.525], Double[Round(num,ndp)], String[-12], Doublenum=-11.525:ndp=1[-11.525], Double[Round(num,ndp)], String[-11.5], Doublenum=-11.525:ndp=2[-11.525], Double[Round(num,ndp)], String[-11.52], Doublenum=-11.525:ndp=3[-11.525], Double[Round(num,ndp)], String[-11.525], Doublenum=-11.525:ndp=4[-11.525], Double[Round(num,ndp)], String[-11.525], Doublenum=-11.535[-11.535], Double[Round(num)], String[-12], Doublenum=-11.535:ndp=0[-11.535], Double[Round(num,ndp)], String[-12], Doublenum=-11.535:ndp=1[-11.535], Double[Round(num,ndp)], String[-11.5], Doublenum=-11.535:ndp=2[-11.535], Double[Round(num,ndp)], String[-11.54], Doublenum=-11.535:ndp=3[-11.535], Double[Round(num,ndp)], String[-11.535], Doublenum=-11.535:ndp=4[-11.535], Double[Round(num,ndp)], String[-11.535], Doublenum=5.555[5.555], Double[Round(num)], String[6], Doublenum=5.555:ndp=0[5.555], Double[Round(num,ndp)], String[6], Doublenum=5.555:ndp=1[5.555], Double[Round(num,ndp)], String[5.6], Doublenum=5.555:ndp=2[5.555], Double[Round(num,ndp)], String[5.56], Doublenum=5.555:ndp=3[5.555], Double[Round(num,ndp)], String[5.555], Doublenum=5.555:ndp=4[5.555], Double[Round(num,ndp)], String[5.555], Doublenum=-5.555[-5.555], Double[Round(num)], String[-6], Doublenum=-5.555:ndp=0[-5.555], Double[Round(num,ndp)], String[-6], Doublenum=-5.555:ndp=1[-5.555], Double[Round(num,ndp)], String[-5.6], Doublenum=-5.555:ndp=2[-5.555], Double[Round(num,ndp)], String[-5.56], Doublenum=-5.555:ndp=3[-5.555], Double[Round(num,ndp)], String[-5.555], Doublenum=-5.555:ndp=4[-5.555], Double[Round(num,ndp)], String[-5.555], Doublenum=12.565[12.565], Double[Round(num)], String[13], Doublenum=12.565:ndp=0[12.565], Double[Round(num,ndp)], String[13], Doublenum=12.565:ndp=1[12.565], Double[Round(num,ndp)], String[12.6], Doublenum=12.565:ndp=2[12.565], Double[Round(num,ndp)], String[12.56], Doublenum=12.565:ndp=3[12.565], Double[Round(num,ndp)], String[12.565], Doublenum=12.565:ndp=4[12.565], Double[Round(num,ndp)], String[12.565], Doublenum=-12.575[-12.575], Double[Round(num)], String[-13], Doublenum=-12.575:ndp=0[-12.575], Double[Round(num,ndp)], String[-13], Doublenum=-12.575:ndp=1[-12.575], Double[Round(num,ndp)], String[-12.6], Doublenum=-12.575:ndp=2[-12.575], Double[Round(num,ndp)], String[-12.58], Doublenum=-12.575:ndp=3[-12.575], Double[Round(num,ndp)], String[-12.575], Doublenum=-12.575:ndp=4[-12.575], Double[Round(num,ndp)], String[-12.575], Doublenum=13.152[13.152], Double[Round(num)], String[13], Doublenum=13.152:ndp=0[13.152], Double[Round(num,ndp)], String[13], Doublenum=13.152:ndp=1[13.152], Double[Round(num,ndp)], String[13.2], Doublenum=13.152:ndp=2[13.152], Double[Round(num,ndp)], String[13.15], Doublenum=13.152:ndp=3[13.152], Double[Round(num,ndp)], String[13.152], Doublenum=13.152:ndp=4[13.152], Double[Round(num,ndp)], String[13.152], Doublenum=-13.152[-13.152], Double[Round(num)], String[-13], Doublenum=-13.152:ndp=0[-13.152], Double[Round(num,ndp)], String[-13], Doublenum=-13.152:ndp=1[-13.152], Double[Round(num,ndp)], String[-13.2], Doublenum=-13.152:ndp=2[-13.152], Double[Round(num,ndp)], String[-13.15], Doublenum=-13.152:ndp=3[-13.152], Double[Round(num,ndp)], String[-13.152], Doublenum=-13.152:ndp=4[-13.152], Double[Round(num,ndp)], String[-13.152], Doublenum=13.848[13.848], Double[Round(num)], String[14], Doublenum=13.848:ndp=0[13.848], Double[Round(num,ndp)], String[14], Doublenum=13.848:ndp=1[13.848], Double[Round(num,ndp)], String[13.8], Doublenum=13.848:ndp=2[13.848], Double[Round(num,ndp)], String[13.85], Doublenum=13.848:ndp=3[13.848], Double[Round(num,ndp)], String[13.848], Doublenum=13.848:ndp=4[13.848], Double[Round(num,ndp)], String[13.848], Doublenum=-13.868[-13.868], Double[Round(num)], String[-14], Doublenum=-13.868:ndp=0[-13.868], Double[Round(num,ndp)], String[-14], Doublenum=-13.868:ndp=1[-13.868], Double[Round(num,ndp)], String[-13.9], Doublenum=-13.868:ndp=2[-13.868], Double[Round(num,ndp)], String[-13.87], Doublenum=-13.868:ndp=3[-13.868], Double[Round(num,ndp)], String[-13.868], Doublenum=-13.868:ndp=4[-13.868], Double[Round(num,ndp)], String[-13.868], Doublenum=13.555[13.555], Double[Round(num)], String[14], Doublenum=13.555:ndp=0[13.555], Double[Round(num,ndp)], String[14], Doublenum=13.555:ndp=1[13.555], Double[Round(num,ndp)], String[13.6], Doublenum=13.555:ndp=2[13.555], Double[Round(num,ndp)], String[13.56], Doublenum=13.555:ndp=3[13.555], Double[Round(num,ndp)], String[13.555], Doublenum=13.555:ndp=4[13.555], Double[Round(num,ndp)], String[13.555], Doublenum=-13.545[-13.545], Double[Round(num)], String[-14], Doublenum=-13.545:ndp=0[-13.545], Double[Round(num,ndp)], String[-14], Doublenum=-13.545:ndp=1[-13.545], Double[Round(num,ndp)], String[-13.5], Doublenum=-13.545:ndp=2[-13.545], Double[Round(num,ndp)], String[-13.54], Doublenum=-13.545:ndp=3[-13.545], Double[Round(num,ndp)], String[-13.545], Doublenum=-13.545:ndp=4[-13.545], Double[Round(num,ndp)], String[-13.545], Double

Sources

  •  

Sideway BICK Blog

12/03


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013