All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reference.language.multiply.html Maven / Gradle / Ivy




    
    Multiply expressions
    
    

    
    

    
    

    
    
    
    

    


Multiply expressions

Multiply expressions are used to multiply 2 values.
A multiply expression is a code fragment which produces a value, whose type is determined by the values being subtracted, and which can then be used as an input for other operations: print, write, method call and so forth.
A multiply expression has the form a * b.
The * operator is used because x being a letter, it can be used as a name, which would be confusing.

Multiplying Integer and Decimal values

Multiplying Integer and Decimal values returns an Integer value if both values are Integer, and a Decimal otherwise.

Multiplying Text or Character and Integer values

Multiplying Text or Character and Integer values returns a Text value, where the left-hand side is concatenated n times.

Multiplying Period and Integer values

Multiplying Period and Integer values returns a Period value.

Multiplying List and Integer values

Multiplying List and Integer values returns a List value, where the left-hand side is added to itself n times.

Multiplying user defined values

Prompto supports multiplying user defined values. See categories for details.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy