Statement: Divide

Funzione:
              L'istruzione DIVIDE consente di dividere un campo numerico assegnando il quoziente al dividendo o ad un altro campo numerico.
 
Formato 1

 

DIVIDE                   INTO identificatore-2 [ ROUNDED ] [ ON SIZE ERROR istruzione-imperativa ]

                 
identificatore
numero-reale

 

 
Formato 2
                 
identificatore
numero-reale

 

DIVIDE                   INTO identificatore-2 GIVING identificatore-3 [ ROUNDED ] [ ON SIZE ERROR istruzione-imperativa ]

 

 
Formato 3
                 
identificatore
numero-reale

 

DIVIDE                   BY identificatore-2 GIVING identificatore-3 [ ROUNDED ] [ ON SIZE ERROR istruzione-imperativa ]

 

 
Formato 4
                 
identificatore
numero-reale

 

DIVIDE                   INTO identificatore-2 GIVING identificatore-3 [ ROUNDED ] REMINDER identificatore-4

                                                                                         [ ON SIZE ERROR istruzione-imperativa ]

 

Formato 5

                 
identificatore
numero-reale

 

DIVIDE                   BY identificatore-2 GIVING identificatore-3 [ ROUNDED ] REMINDER identificatore-4

                                                                                      [ ON SIZE ERROR istruzione-imperativa ]

Top