Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Lotusscript - Rounding to nearest half
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

I am trying to round to the nearest .5 using Lotusscript. I have a view where I pull two numbers and those two numbers are subtracted. Typically the number turns out to be at least 4+ decimal places. I would like to just round up to the nearest half number.

ie.
6.4553434 = 6.5
6.7544500 = 7.0
6.2456460 = 6.0

Anyone have any ideas on the best way to do this. Should I use evaluate at @round?

Any help is appreciated.

Dustin


Feedback number WEBB99ML3S created by ~Mark Xanhipipulakol on 07/15/2013

Status: Open
Comments:

Lotusscript - Rounding to nearest h... (~Mark Xanhipipu... 15.Jul.13)
. . I thnk something like this (~Fritz Ekfoober... 15.Jul.13)
. . . . Perfect (~Mark Xanhipipu... 15.Jul.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS