Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concat With Format #65

Open
aspnetlearning opened this issue Nov 10, 2020 · 1 comment
Open

Concat With Format #65

aspnetlearning opened this issue Nov 10, 2020 · 1 comment

Comments

@aspnetlearning
Copy link

aspnetlearning commented Nov 10, 2020

Hi,
I want the formula in concat result with 2 digits after comma. But all zeros are coming. How can I do it?

x1=0
d3=83.40
c3=6.85
result= 76.55000000000001 g/l add
<input type="text" data-format="0,0[.]00" data-cell="A3" data-formula='IF(X1> 0,IF(D3<C3,"Techinal",CONCAT(D3*X1*0.001-C3*X1*0.001,"kg. add ")),IF(D3<C3,"Techinal",CONCAT(D3-C3," g/l add")))'></input>

Thanks

@ikhsan017
Copy link
Member

Hi @aspnetlearning

Maybe you can combine it with ROUND ?

like CONCAT(ROUND(D3-C3, 2)," g/l add")

Regards,
Ikhsan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants