<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi there</div><div><br></div><div>I have a total precipitation monthly serie, and I want to obtain the daily precipitation flux, so I need to divide the precipitation of each month with the days of that month, but I have to have in account that there are leaps years. Therefore I need to define a variable which follows one equation in some years and other equation in the rest of them... summarizing I need to create a variable which follows logical operators... Is this possible? and if it is... how is the sintaxis?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Juan Sierra</div>                                            </div></body>
</html>