Method: XlsFunction::Evaluators::Functions::Char#eval

Defined in:
lib/xls_function/evaluators/functions/char.rb

#evalObject



9
10
11
12
13
14
15
# File 'lib/xls_function/evaluators/functions/char.rb', line 9

def eval
  return '' unless number.respond_to?(:to_i)

  number.to_i.chr
rescue RangeError => e
  e.message
end