cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
2
Replies

calculations on variables

unused
Level 1
Level 1

Apologies if this is the wrong place but i'm new to this and not sure where to look.

I have the task of updating an html file and not sure how to do it.

There is a variable called $(TG_PRICE) that is used in several areas but I need to add a percentage price increase to some of those locations so $(TG_PRICE) * 1.05 for a future price but i dont know if this is possible or how to structure the code.  Due to the development process I cant pass this value in as a new variable.

This is what is in the html code but its wrong as it just displays the text rather than the sum of the calculation.

<td>Your price next year will be $(TG_PRICE)*1.05</td>

Any help is appreciated and thanks in advance.

1 Accepted Solution

dtibbe
VIP Alumni
VIP Alumni

Seems to be some kind of CMS specific stuff and totally unrelated to Webex and it's API. You should ask the developer community of that tool instead of any arbitrary one..

View solution in original post

2 Replies 2

thewebdentaku
Level 1
Level 1

JavaScriptを使えば簡単に計算できますね!例えば、<script>タグを使って計算結果を表示できます。私も https://thedentaku.com   に関するサイトを運営しているので、計算関連の話題には興味があります!

dtibbe
VIP Alumni
VIP Alumni

Seems to be some kind of CMS specific stuff and totally unrelated to Webex and it's API. You should ask the developer community of that tool instead of any arbitrary one..