Denso Power Net Terminal BHT-7500 Dokumentacja Strona 376

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 375
Chapter 15. Function Reference
367
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 375
1 2 ... 371 372 373 374 375 376 377 378 379 380 381 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag