cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Remainder in division in descriptors

ki6i
Trusted Contributor

Hi there,

 

When I try to use the code down below aka. to divide the value with '/' I get the full value without the remainder. What should I do if I need the remainder? In most programming languages out there you can use '%' but that doesn't seems to work here?

 

[Buffer=mybuffer3 Set]
           [Value Expression="(100*buffer(mybuffer1))/buffer(mybuffer2)"/]
[/Buffer]

2 Replies

jhorber
MEGA
MEGA

Hi Ki6i

 

You can find below an example of call of a VB script macro from a HTML/code descriptor

The call is made using the tag [ExternalCall]
Jerome

hsoegaard
MEGA Partner
MEGA Partner

Not possible with buffers. You have to use a Macro in stead.