Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Conversion Algorithm for text into hours & minutes: msg#00048

db.filemaker.devel

Subject: Re: Conversion Algorithm for text into hours & minutes

Hello Simon,
If you're requirement is for the time value (eg '2:10') to be returned as text, the I would suggest a formula such as:

Let(T = GetAsNumber(YourTextField);
Int(T/60) & ":" & Right("00" & Mod(T; 60); 2)
)

However if you would like the hours and minutes returned as a standard FileMaker time value, then I'd suggest that you format the calc to return its result as Time and simply use:

GetAsNumber(YourTextField)

Regards,
Ray
----------------------------------------------------------
R J Cologon, Ph.D.,
Associate, FileMaker Solutions Alliance
FileMaker 7 Certified Developer
NightWing Enterprises, Melbourne, Australia
Email: CobaltSky-LyJzW+n/MtHP+dxuUfoltA@xxxxxxxxxxxxxxxx
http://www.nightwing.com.au/FileMaker
----------------------------------------------------------

On 31/03/2005, at 10:33 PM, Simon Manning wrote:

Hi all,

Does anyone have an algorithm to convert a text field (e.g. "130") into Hours and Minutes (e.g. "2.10")

Best regards,

Simon Manning
Systems Developer
IPS Web & Data Services
Cambridge University Press
University Printing House
Cambridge CB2 2RU
Tel:  + 44 (0)1223 325132 (direct)
Email:  smanning-eaSgp5hN2EDNLxjTenLetw@xxxxxxxxxxxxxxxx

--
To unsubscribe: send an email to
<fmpexperts-off-YhOVfwX2n+1GPrOSNmeGdnHfP1ztnLDb@xxxxxxxxxxxxxxxx>
FMPexperts is hosted by Ironclad Networks <http://www.ironclad.net.au/>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation