Skip to main content



      Home
Home » Archived » BIRT » modulus
modulus [message #142946] Wed, 08 March 2006 14:59 Go to next message
Eclipse UserFriend
I want to determine if the quantity is equal to the convertion factor or
exact multiples of the convertion factor.

I would normally use quantity modulus convertion factor and get the
remainder back.

251 MOD 50 = 1

The problem is that i cannot find such a function in the expression builder
of Birt.

How can i fix this?
Re: modulus [message #143003 is a reply to message #142946] Fri, 10 March 2006 14:12 Go to previous message
Eclipse UserFriend
Originally posted by: jarif.despammed.com

"gunter" <gunter_rombauts@chicago-metallic.be> wrote in
news:dush61$o93$1@utils.eclipse.org:

> I want to determine if the quantity is equal to the convertion factor
> or exact multiples of the convertion factor.
>
> I would normally use quantity modulus convertion factor and get the
> remainder back.
>
> 251 MOD 50 = 1
>
> The problem is that i cannot find such a function in the expression
> builder of Birt.
>
> How can i fix this?
>
>
>

JavaScript is based on C language so you could try % operator

251 % 50 should be 1
Previous Topic:How to email/schedule reports
Next Topic:How to get dinamic elements in the master page?
Goto Forum:
  


Current Time: Sun Jun 08 14:33:00 EDT 2025

Powered by FUDForum. Page generated in 0.15128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top