arithmetic
The [[awk]] programming language provides a set of [[dyadic]] arithmetic operators for performing basic . . . | !* | [[multiplication]] | !/ | [[division]] | % | [[modulus]] {{{ awk print 6 + 3 # . . . print 6 * 3 # multiplication print 10 / 4 # division print 10 % 4 # modulus }}} == The awk programming . . . The backslash symbol may not be used for integer division == Traditionally, the [[awk]] programming . . . use of a [[backslash]] symbol as an [[integer division]] operator. ---- [[Calculations involving . . .
1K - last updated 2011-05-24 22:16 UTC by markhobley
AwkGuide
** Work in Progress ** {{{ import from Mark Hobley's wiki }}} <toc> ---- == Overview * [[Overview]] . . . * [[delimiter]]s * [[destructor]]s * [[division]] * [[doublequotes]] * [[empty statement]] . . . * [[input]] * [[instruction]]s * integer [[division]] * [[internal]]s * [[interpolation]] * [[iteration]] . . . * [[putline]] * [[quotationmark]]s * quotient [[division]] * [[read only variable]]s * [[record]]s . . .
4K - last updated 2011-08-14 15:57 UTC by markhobley
compound assignment operator
The *compound assignment operators* (also called *combination assignment operators*) provide a more concise . . . | !*= | [[multiplication]] | !/= | [[division]] | %= | [[modulus]] === Operator precedence . . .
2K - last updated 2011-03-27 09:46 UTC by markhobley
division
== Quotient Division == The [[slash]] symbol can be used as the division [[operator]] to produce the . . . result of a quotient division calculation of two [[operand]]s: answer = . . . 18 / 3 # 6 == Division Combination Assignment Operator == The division . . . digraph, can also be used to perform a quotient division calculation: value /= 3 # value = value / . . . 3 == Integer Division == The [[awk]] programming language does not . . .
2K - last updated 2011-03-20 07:07 UTC by markhobley
modulus
The [[dyadic]] modulus [[operator]], represented by a [[percent]] sign is used to return the remainder . . . in division [[arithmetic]]: print 15 % 4 # 3 (the remainder . . . can also be used to determine the modulus of a division calculation: value %= 3 # value = value % . . .
1K - last updated 2011-06-07 00:41 UTC by markhobley
slash
== Division Operator == The slash symbol is used as the division operator to produce the [[result]]s . . . of a [[quotient division]] calculation of two [[operand]]s: $answer . . .
1K - last updated 2011-05-11 15:00 UTC by markhobley
symbol
| *Symbol* | *Name* | *Purpose* | !! | [[pling]] | logical NOT | " | [[doublequote]] | | # | [[hash]] . . . regular expression operator | / | [[slash]] | division operator and regular expression enclosure . . . compound assignment operator | /= | division compound assignment operator | ^= | exponent . . .
2K - last updated 2013-02-19 14:26 UTC by markhobley
7 pages found.