aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-floor-ceil.nix
blob: d76a0d86ea78cdf6c450b0832465bbe6613afb6d (plain)
1
2
3
4
5
6
7
8
9
with import ./lib.nix;

let
  n1 = builtins.floor 23.5;
  n2 = builtins.ceil 23.5;
  n3 = builtins.floor 23;
  n4 = builtins.ceil 23;
in
  builtins.concatStringsSep ";" (map toString [ n1 n2 n3 n4 ])