barristann Posted September 29, 2023 Share 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 Link to comment Share on other sites More sharing options...
marko_ribar Posted September 29, 2023 Share Posted September 29, 2023 (mapcar '(lambda ( x ) (* x 1000.0)) ptlst) 1 Quote Link to comment Share on other sites More sharing options...
barristann Posted September 30, 2023 Author Share Posted September 30, 2023 This works! Thank you, marko_ribar Quote Link to comment Share on other sites More sharing options...
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.