cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

abs-ceil.js (154B)


      1export default function absCeil(number) {
      2    if (number < 0) {
      3        return Math.floor(number);
      4    } else {
      5        return Math.ceil(number);
      6    }
      7}