Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

How to calculate modulas of two numbers using script

$
0
0

Hi Experts,

 

Can anyone tell me how to calculate modulas of two numbers in design studio.

 

Eg: I want to calculate given year is a Leap year or not.

 

Normal logic is : ((year %4 ==0) && ((year%100!=0) || (year%400) ==0)).

 

Here in script it is not allowing to use % for modulas.

 

 

Please suggest me probable solution.


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>