Vyxapedia

Element - - Floor

Characters:


Description

Floor a number / real part of complex number / extract the integer part of a string


Overloads

  • num - floor(a) (floor)
  • complex - real part of a
  • str - integer part of a

Examples

  • 5.3 ⌊ = 5
  • ⟨5.3|4.7⟩ ⌊ = ⟨5|4⟩
  • `123abc` ⌊ = 123
  • `-123` ⌊ = -123
  • `-00609` ⌊ = -609