Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » modulus
modulus [message #142946] Wed, 08 March 2006 19:59 Go to next message
No real name is currently offline No real nameFriend
Messages: 6
Registered: July 2009
Junior Member
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 19: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: Sat Dec 21 14:12:08 GMT 2024

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

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

Back to the top