barristann Posted September 29, 2023 Posted September 29, 2023 Hi all. How do I multiply each element of the below list by 1000? In other words, I need to convert the below coordinate from meter to millimeters. (setq pt (list 31.324 223.211 100.01) ) Quote
marko_ribar Posted September 29, 2023 Posted September 29, 2023 (mapcar '(lambda ( x ) (* x 1000.0)) ptlst) 1 Quote
barristann Posted September 30, 2023 Author Posted September 30, 2023 This works! Thank you, marko_ribar Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.