20241011.1820z - telebasic (telehack's dartmouth basic) notes. CINT() and NINT() behavior

    10  ? "NINT()":? "nint(3.4)=";:? nint(3.4):? "nint(3.5)=";:? nint(3.5):? "nint(3.6)=";:? nint(3.6)
    20  ? "CINT()":? "cint(3.4)=";:? cint(3.4):? "cint(3.5)=";:? cint(3.5):? "cint(3.6)=";:? cint(3.6)
    >run
    NINT() - rounds down
    nint(3.4)= 3
    nint(3.5)= 3
    nint(3.6)= 4
    CINT() - rounds up
    cint(3.4)= 3
    cint(3.5)= 4
    cint(3.6)= 4
    

20240827.0533z - rename cookbook entry: rename -- 's/\.\./\./g' * removes double dots (shows escaping)

20240827.0524z - Use rename -- 's/ /./g' * to sub . for space in filenames.





Click for the [ Random page ]
Want to join the ring? Click here for info.

Tilde Club Badge