OPERATORS

Division assignment (/=)

Apply division to the current value of the target and the right operand.

Syntax

Signature
target /= value

Description

Apply division to the current value of the target and the right operand. Store the result back in the target. The operand rules are those of /.

Example

Division_assignment.prg
PROCEDURE Main()

   LOCAL nSize := 1572864

   QOut( "Bytes", nSize )
   nSize /= 1024
   QOut( "KiB", nSize )
   nSize /= 1024
   QOut( "MiB", nSize )

   RETURN

Output