CByte


Please sign in to view the rest of this entry.

CByte
10111021011103103010010303001011403CByteCByte is a function that returns a number converted to the "Byte" variable type. Decimal points are rounded. If the decimal point is equal to "0.5," it is rounded to the nearest even number.Func CByte ([Number]) As Byte Example Dim Output Output = CByte (4.676)
Citation
Dieter R. Ziethen: CATIA V5: Macro Programming with Visual Basic Script. CByte, Chapter (McGraw-Hill Professional, 2013), AccessEngineering Export