Vyxapedia

Element - - Round

Characters:


Description

Round a number to the nearest integer / real and imaginary part of complex number


Overloads

  • num - round(a)
  • complex - [real(a), imag(a)]
  • str - quad palindromise with overlap

Examples

  • 5.5 ṙ = 6
  • 3.2 ṙ = 3
  • ⟨5.5|3.2⟩ ṙ = ⟨6|3⟩
  • -4.7 ṙ = -5
  • -4.5 ṙ = -4
  • `ab` ṙ = `abba abba`