emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] floatp test in babel


From: cédric ody
Subject: [O] floatp test in babel
Date: Tue, 29 Jan 2019 09:06:13 +0100

Hello,


I am trying to understand why the floatp lisp function does not seem to detect exponential scientific notation in babel octave mode.


If I do


#+BEGIN_SRC emacs-lisp

(floatp 1e4)

#+END_SRC


#+RESULTS:

: t


whereas in the following table is converted into char due to the presence of the third column.


#+RESULTS: variables

| 1 | 1 | 1e-05 |


#+HEADERS: :var a=variables

#+BEGIN_SRC octave :results output replace

whos a

#+END_SRC


#+RESULTS:

: Variables in the current scope:

: Attr Name Size Bytes Class
: ==== ==== ==== ===== =====
: a 1x7 7 char

:


Can we modify something so that exponential notation is supported?


Cédric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]