Denso Power Net Terminal BHT-103 Dokumentacja Strona 374

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 577
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 373
Chapter 15. Function Reference
366
Syntax:
INT(numericexpression)
Parameter:
numericexpression
A real expression.
Description:
INT returns the largest whole number less than or equal to the value of
numericexpression by stripping off the fractional part.
You use INT as shown below to round off the fractional part of a real number.
INT(realnumber+0.5)
Example: dat=1.5
PRINT INT(dat+0.5)
If numericexpression is negative, this function operates as shown below.
PRINT INT(-1.5)
PRINT INT(-0.2)
INTeger Numeric operation function
INT
Returns the largest whole number less than or equal to the value of a given numeric expres-
sion
2
-2
-1
Przeglądanie stron 373
1 2 ... 369 370 371 372 373 374 375 376 377 378 379 ... 576 577

Komentarze do niniejszej Instrukcji

Brak uwag