I’m trying to split a number stated in scientific notation (6.371e6
) and write it as float (6371000
) (I’m doing this to learn.)
This is the code I have so far
A = (car (mapcar #'string-to-number (split-string "6.371e6" "e")))
6.371
B = (nth 1 (mapcar #'string-to-number (split-string "6.371e6" "e")))
6
When I try
(* A B)
I get this error:
symbol’s function definition is void: make-closure
Why do I get this error?
I found this link, but I did not understand what I need to do. Do I need to upgrade my emacs? I have version 27.2
Also, why don't I get the *Backtrace*
buffer? Instead, the errors show up in the mini buffer.