Server IP : 68.65.122.142  /  Your IP : 3.145.81.252
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/locale/mni/../wba/../co/../phn/../afh/../sga/../lb/../fa/../bug/../../awk/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/locale/mni/../wba/../co/../phn/../afh/../sga/../lb/../fa/../bug/../../awk/intdiv0.awk
# intdiv0 --- do integer division

#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# July, 2014
#
# Name changed from div() to intdiv()
# April, 2015
#
# Changed to intdiv0()
# April, 2016

function intdiv0(numerator, denominator, result)
{
    split("", result)

    numerator = int(numerator)
    denominator = int(denominator)
    result["quotient"] = int(numerator / denominator)
    result["remainder"] = int(numerator % denominator)

    return 0.0
}