Jump to content

How to create lisp for a simple equation? and paste it?


pkim1230

Recommended Posts

Hello,

First post here, I am interested in making a lisp for what may seem pretty simple.

Let's say I have 3500 written in CAD. How can I make a lisp that takes this number and multiplies it by 0.3025 and allows me to paste the result where I want to?

 

I am working in Korea and we use a unit called Pyoung, and it's converted with this equation. It would be nice if I can add "PY" to the converted number! Even more advanced, if I can have an option to add "PY" or nothing at all.

Link to comment
Share on other sites

This is just standard text I'm trying to convert. There's a whole list of numbers (like straight out of excel file) that I need to convert one by one and enter it in.

I already have a lisp for getting the area and pasting it where I want to. I'm guessing an equation lisp would be easier?

Thanks, and excuse me for any grammatical errors.

 

Is this a possible lisp? If so, I'd be distributing this to all of my coworkers as it would be very time saving.

Korean government recently banned the use of Pyoung because it's very unprofessional, but everyone still uses it.

Link to comment
Share on other sites

This is just standard text I'm trying to convert. There's a whole list of numbers (like straight out of excel file) that I need to convert one by one and enter it in.

I already have a lisp for getting the area and pasting it where I want to. I'm guessing an equation lisp would be easier?

Thanks, and excuse me for any grammatical errors.

 

Is this a possible lisp? If so, I'd be distributing this to all of my coworkers as it would be very time saving.

Korean government recently banned the use of Pyoung because it's very unprofessional, but everyone still uses it.

 

Simple equation with lisp, imputing the starting value would be the hardest part. Modifying the area lisp you already have to include that option would eliminate that need.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...