PATH: //usr/share/awk
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 assert.awk
↓
X
📄 bits2str.awk
↓
X
📄 cliff_rand.awk
↓
X
📄 ctime.awk
↓
X
📄 ftrans.awk
↓
X
📄 getopt.awk
↓
X
📄 gettime.awk
↓
X
📄 group.awk
↓
X
📄 have_mpfr.awk
↓
X
📄 inplace.awk
↓
X
📄 intdiv0.awk
↓
X
📄 join.awk
↓
X
📄 libintl.awk
↓
X
📄 noassign.awk
↓
X
📄 ns_passwd.awk
↓
X
📄 ord.awk
↓
X
📄 passwd.awk
↓
X
📄 processarray.awk
↓
X
📄 quicksort.awk
↓
X
📄 readable.awk
↓
X
📄 readfile.awk
↓
X
📄 rewind.awk
↓
X
📄 round.awk
↓
X
📄 shellquote.awk
↓
X
📄 strtonum.awk
↓
X
📄 walkarray.awk
↓
X
📄 zerofile.awk
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: round.awk
# round.awk --- do normal rounding # # Arnold Robbins, arnold@skeeve.com, Public Domain # August, 1996 function round(x, ival, aval, fraction) { ival = int(x) # integer part, int() truncates # see if fractional part if (ival == x) # no fraction return ival # ensure no decimals if (x < 0) { aval = -x # absolute value ival = int(aval) fraction = aval - ival if (fraction >= .5) return int(x) - 1 # -2.5 --> -3 else return int(x) # -2.3 --> -2 } else { fraction = x - ival if (fraction >= .5) return ival + 1 else return ival } }
SIMPAN PERUBAHAN