Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /usr/share/awk/ |
Upload File : |
# 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 }