# float numbers in lterm

Asked by
MohammadMohammadidoust
on 2021-01-04

Dear Sir/Madam

As it's been mentioned in manual , it is impossible to add float numbers, such as sqrt(5), 2.45 and etc , in lagrangian terms in lanhep.

I am looking for a implement a lagrangian which contains these kind of terms.

I think we can do it by introducing extra parameters. for example:

parameter alpha =22.

parameter alpha2= sqrt(7)*alpha.

lterm alpha2* gamma.

instead of :

parameter alpha=22.

lterm sqrt(7)

this way works but it needs to declare extra parameters.

is there any better way to solve this question ?

many thanks

## Question information

- Language:
- English Edit question

- Status:
- Solved

- For:
- CalcHEP Edit question

- Assignee:
- No assignee Edit question

- Solved by:
- Alexander Pukhov

- Solved:

- Last query:

- Last reply:

To post a message you must log in.