toInteger toInteger
Converte un valore di argomento in un numero intero.
Categoria
Conversione
Sintassi della funzione
toInteger(<parameter>)
Parametri
Parametro
            Descrizione
          stringa
            converte il valore stringa come numero intero
          dateTime
            converte la data in millisecondi (millisecondi epoca)
          decimale
            converte in numero intero rimuovendo la parte decimale (ad esempio: 1,5 diventa 1)
          booleano
            converte il valore booleano come 1 se true, 0 se false
          Firme e tipo restituito
toInteger(<dateTime>)
toInteger(<decimal>)
toInteger(<integer>)
toInteger(<string>)
toInteger(<boolean>)
Restituisce un numero intero.
Esempi
toInteger("4")
Restituisce 4.
recommendation-more-help
            
          b22c9c5d-9208-48f4-b874-1cefb8df4d76