filmov
tv
How to apply or use ROUND and DateDiff formula in access

Показать описание
Hello friends, This tutorial you can learn How to apply or use ROUND and DateDiff formula in access.
Round Function:
Ms access round function returns a number rounded to a specified number of decimal places. however ,
the ROUND function behaves a a little peculiar and uses something commonly referred to a as bankers rounding.
If the expression that you are rounding ends with a 5, the ROUND function will round the expression so that the last digit is an even number.
syntax: Round(expression, [decimal_places])
for example:
Round(13.55, 1)
Result: 13.6 (rounds up)
Round(12.75,1)
Result: 12.8 (rounds up)
DateDiff: DateDiff function returns the difference between two date values,
based on the interval(explanation) specified.The interval of time to use to calculate the difference between date1 and date2.
SYNTAX:
DateDiff ( interval, date1, date2, [firstDayofWeek], [fisrtDayofYear])
FORMULA 1
DateDiff("yyyy", #15/10/1999#, #22/11/2006#)
Result : 3
DateDiff("m", #15/10/1999#, #22/11/2006#)
Result: 1
DateDiff("d", #25/11/1999#, #05/11/1999#)
Result: 20
Round Function:
Ms access round function returns a number rounded to a specified number of decimal places. however ,
the ROUND function behaves a a little peculiar and uses something commonly referred to a as bankers rounding.
If the expression that you are rounding ends with a 5, the ROUND function will round the expression so that the last digit is an even number.
syntax: Round(expression, [decimal_places])
for example:
Round(13.55, 1)
Result: 13.6 (rounds up)
Round(12.75,1)
Result: 12.8 (rounds up)
DateDiff: DateDiff function returns the difference between two date values,
based on the interval(explanation) specified.The interval of time to use to calculate the difference between date1 and date2.
SYNTAX:
DateDiff ( interval, date1, date2, [firstDayofWeek], [fisrtDayofYear])
FORMULA 1
DateDiff("yyyy", #15/10/1999#, #22/11/2006#)
Result : 3
DateDiff("m", #15/10/1999#, #22/11/2006#)
Result: 1
DateDiff("d", #25/11/1999#, #05/11/1999#)
Result: 20
How To Apply Retinol To Achieve The Best Results
How to Apply For UK Youth Mobility Visa Ballot 2025 | Live Step-by-Step Application Guide For ALL
Doctor Explains How To Apply Serums Properly!
How a dermatologist layers serums 👌🏻
HOW TO apply hair serum with The Ordinary Multi-Peptide Serum
How To Apply Denture Adhesive
How To Apply Caulk Easily!
How To CONTOUR Like a Pro in Just 5 Minutes!
How to apply a lipstick and how to make it waterproof | lipstick trick | matte lipstick
How to Apply Nail Polish Like a Pro
How To Apply Press Ons (EASY) #nails #howto #shorts
How To Apply Face Serum The Correct Way for Better Results | Skincare Tips | Be Beautiful #Shorts
How to apply nails with “Stickers” no glue required #shorts #nails #nailart
How To Apply Liquid Lipstick Like a Pro #aakankshaghai
Makeup eyeliner tip. how to apply eyeliner perfectly 😃
How to apply your fake nails using nail glue
I Tried Applying False Eyelashes With a Lash Curler And… #shorts
How To Apply A Fragrance | Men's Cologne/Perfume Review 2022
HOW TO: Apply False Lashes for Beginners
Top 5 Acrylic application mistakes‼️What mistake are you guilty of ???
HOW to apply retinol serum 👌✨
How to apply press-on Nails with glue | LÓA NAILS
How to glue the press on nails perfectly
How to apply scalp medications
Комментарии