How to convert a number in to a time string?

I have calculated a time in minutes: 3.75. But I will show it as a time string: 3:45 or 00:03:45 or anything like this.
Yes, I can convert it manually, but then I can not use it in a diagram. I have a formula that calculates times for a given diameter and I will show the values in a diagram. The x axis should show the diameter, and the y axis should show the time in a typical time format eg: mm:ss.
How can I solve this?

Hello
I just wish to add that I am unable to say:
Engineers made a good or a wrong choice.
They made one choice.
I don't know if they imagine the odd consequences of this choice.
But what they did with their choice is coherent.
At least, it is as long we don't enter the area of import foreign sheets.
When they import from XL, they forgot to take care of an important info available in .xls files which describes the date_time used starting point. It's 1/1/1904 for .xls docs created on Mac but an other one for docs created under Windows. Given this omission, imported date_time values may be wrong.
When they import from AppleWorks it is completely foolish.
You american users are well treated but us, european ones are in the mud.
When we import an AW6 spreadsheet containing dates on a machine whose setting is the standard in use here: date format dd/mm/yyyy
if the OS is 10.4.x we get odd values (I'm no longer born)
if the OS is 10.5.x, Numbers quits.
Apple engineers responded to Apple France that they where unable to reproduce the behavior.
Sure, they failed to set the system's date format to the described one.
This remind me an old bug which they can't reproduce too.
It striked French keyboards but the tested with american ones.
Sometimes I'm afraid that they smoke too much the carpet in Cupertino's offices
Yvan KOENIG (from FRANCE jeudi 19 juin 2008 14:19:45)

Similar Messages

  • How to convert a number to FLOAT with 9 decimal values.

    Hi all,
    I need to convert a number like '10.02' to a floating point number with 9 decimal values like '10.022111221'. I think that the right function is TO_BINARY_FLOAT, but how can I obtain 9 decimal values? If I use the following syntax:
    select TO_BINARY_FLOAT(num) from table
    I obtain a floating point values with a variable number of decimal numbers after the ".", instead I need 9 number after ".".
    Regards,
    Maurizio.

    Hi,
    the number I need to select is the result of a product, for example:
    select (Num_A * Num_B) from Table;
    Num_A has 2 decimal numbers, like 12.01 and Num_B could be: 12.111111111.
    Now, Num_A * Num_B = 653.999999994
    but I issue:
    select TO_BINARY_FLOAT(54.00 * 12.111111111) from Table
    I obtain:
    654, a rounded value, but I need 653.999999994.

  • Need Help on How to Convert a Number Field to an Hour/Minute

    Post Author: syracuse2
    CA Forum: Crystal Reports
    I have a field that shows a duration, i.e. 125.  I would like to convert the number of 125 to 2hr and 5 min.  Any suggestions on how to do this?

    Post Author: GraemeG
    CA Forum: Crystal Reports
    Create a formula and paste the following into it (sorry I use Basic Syntax):
    'Ive laboured a point here a bit so you can get an idea of what you can do.
    'Heres 3 variables - one with your duration and two others for hours and minutesshared xDuration as numbershared xHours as numbershared xMins as number
    'Put some data into the duration and calculate the hours and minutesxDuration = 125xHours =  truncate(xDuration/60)xMins = remainder(xDuration,60)
    'You can then use the variables to get a string with unformatted hours and mins'formula = xHours + "hours " + xMins + "Mins"
    'or you format the hours and minutes nicely'formula = CStr(xHours,0) + "hours " + CStr(xMins,0) + "Mins"
    'or you can make it all into one formula without the need for xHours and xMins variablesformula = CStr((truncate(xDuration/60)),0) + "hours " + CStr(remainder(xDuration,60),0) + "Mins"

  • How to convert a number stored as text to as integer with formating

    Hi,
    Can someone say me how to convert a Numeric data that is stored in a Varchar column to an integer.
    Say, I have a Value "-.84566666" in a column which is of data type VARCHAR and I want to show this data as "-0.8456", i.e. I want to display it as an Interger after formating it to have only 4 decimal place value etc.
    Is there any inbuilt function in oracle for this?
    Thanks,

    Take a look at builtin TO_NUMBER / TO_CHAR functions.
    SELECT TO_CHAR(TO_NUMBER('-.84566666'), 'SD9999')
      FROM dual;C.

  • How to find the number of occurence of a string

    String str="The AR tech seeks experienced candidates in java,jsp. The candidates should have atleast 1 year of experience in the specified skills.";
    here i need to find the number of occurence of the string "experience".
    how to find it out?

    String str="The AR tech seeks experienced candidates in java,jsp. The candidates should have atleast 1 year of experience in the specified skills.";
    String findStr = "experience";
    int count = 0;
    int index = 0;
    while(index != -1) {
    index = str.indexOf(findStr, (count == 0 ? 0 : index + findStr.length()));
    if(index != -1) {
    count++;

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to convert  Timestamp  into exact Date and Time(FM)

    Hi Gurus,
    could anyone tel me  ,
    e.g:20.11.2008:11:23:54am
    How to convert Time stamp  into exact Date and Time

    Hi,
    Following is one way of doing it
    Timestamp timeStamp = new Timestamp(Calendar.getInstance().getTimeInMillis());
              System.out.println(timeStamp);
              SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
              System.out.println(dateFormat.format(timeStamp));
              SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
              System.out.println(timeFormat.format(timeStamp));
    Output
    2008-11-20 11:59:35.693 -> Timestamp
    11/20/2008
    11:59:35
    Regards
    Ayyapparaj

  • How to convert a number to duty cycle (FPGA)

    Hi
    I want to convert a numerical number to a duty cycle value in FPGA module so I could use it to generate a PWM signal for the numerical value.
    I tried dividing it but it shows an error in FPGA as it would produce a float value. I tried even the example of scaled division but the quotient is rounded of to 0 (I wanted to convert an output by multiplying 10/36).
    In my project the 100% duty cycle is 360 degrees and 0% is 0 degrees of the motor shaft rotation.
    Please help me I need to use it for my project.
    Thank you
    Dinesh

      I am not exactly sure how your duty cycle is setup, but here is a way we have used a number to create a PWM in our FPGA.
         If you have 360 deg. then I would guess you want to create a PWM duty cycle that is some fraction of 360, say "number"/360.  You could use a for loop where 360 is wired to the "N" and then your "number" can be compared to the current loop count.  That comparison would be true/false which could triger a DIO to be high or low.  Therefor, if   (loop count) < "number"  then DIO is HIGH,  if (loop count) >= "number then DIO is LOW.   This would send out a PWM that has a duty cycle of "number"/360, (multiply by 100 to get in %)  
         I hope this helps.
     --Alex--

  • How to convert inode number to path (for Eudora to Mail conversion)

    I've seen a header line in my Eudora client that has what I believe to be an inode number in it that represents a path:
    X-Attachments: :Server:622049:style.css:
    Server is the volume name and the 622049 appears to be the inode file system path to the folder containing the file. I want to find a programmatic way to do the conversion. For example, if in the Terminal, I issue this:
    sudo find / -inum 622049 -print
    Leopard does find the path:
    /Users/trevor/Documents/Style Sheets
    but also a whole lot of other guff such as:
    find: /dev/fd/4: Not a directory
    find: /net/localhost: Operation timed out
    The reason is that I want to do a really clean move from Eudora to Mail, but I can't any application that works well AND converts outgoing attachment paths for Mail to use. The best application application I could find does not (yet) know how to translate the inode number to a path, so that the resulting messages in Mail have the correct OUTgoing message attachments (it converts incoming attachments just fine). Hence, it's in my interest (and possibly that of all others who want a complete conversion to Mail from Eudora) to do what I can to get the Eudora to Mail process convert BOTH incoming and outgoing attachments (which, to the best of my knowledge and search, no conversion tool can do at the moment).
    Surely there is a direct, programmatic method (presumably the method used by Eudora) to get the path information. I want to send that method to the developer of the best tool I found.
    Anyone know where I can find a reference to how to prgrammatically translate the inode number to the full path, so that the e-mail converter can grab the file quickly?
    Thanks.

    Hi, Christian:
    Thank you for your message!
    i used the type cast, but it seems VISA write can not recognize it, what is the problem?

  • How to convert from number to currency format?

    Dear all,
    As use BPEL transformation or assign,
    I want to convert number format to currency foramt. (ex, 2000.00 -> 2,000.00)
    How to do this?
    Regards
    Toven.

    Hi Toven,
    Following XSL will Convert (123456789.80 -> 123,456,789.80)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:decimal-format name="euro" decimal-separator="." grouping-separator=","/>
    <xsl:template match="/">
    <xsl:value-of select="format-number(123456789.80, '#,###.80', 'euro')"/>
    </xsl:template>
    </xsl:stylesheet>
    Output: 123,456,789.00
    Regards,
    KanmaniRajan

  • How to convert tabs between the words in a String to a single space in java

    I have a string with more number of tabs in between them, the thing I need to do is that I need to convert all those tabs into a single space.
    I used replaceAll(“/t”,” “); but the problem is that it was converting the tabs into spaces but if we have a 3 tabs in between 2 words then this 3 tabs are converting into 3 spaces but I need to have only one space.

    user548049,
    How is your question related to the topic of this forum: Oracle Database-embedded JVM?
    Anyway, you need to use the greedy qualifier: +, like so:
    replaceAll("\\t+"," ")Good Luck,
    Avi.

  • How to convert a numeric field representing UNIX time to a standard report

    Looking for some help on the creation of a formula that will allow me to convert a numeric string which represent Unix time to a standard date format.
    Sample string value "1199149200", Jan 1 2008, 1 AM

    Hi,
    Use the DateAdd formula convert Unix epoch to normal datetime (Unix epoch = number of seconds that have elapsed since January 1, 1970).
    DateAdd("s", 1199149200, datetime("01/01/1970 00:00:00"))
    Cheers,
    Fritz

  • How to convert the value in GET RUN TIME statement in minutes value...

    Hello Experts,
    As I understand, the value that is being passed from GET RUN TIME FIELD statement
    is in microseconds. Now, how do I convert it in minutes value?
    Thank you guys and take care!

    This will give in Hours , minutes, seconds.
    data time type sy-uzeit.
    get time field time.
    write time.
    Check it.

  • How to calculate the number of months between two string as yyyymm

    Dear all,
    I have two month string like yyyymm e.g. 201003 -- 201105. Now I want to calculate the number of months bertween these two month string? How can I do that? Thanks.

    888099 wrote:
    Hi,
    Hope this will help :
         public static void main(String[] args) {
              Calendar cal1 = new GregorianCalendar(2010, 02, 01);
              Calendar cal2 = new GregorianCalendar(2011, 04, 01);
              int years = cal1.get(Calendar.YEAR) - cal2.get(Calendar.YEAR);
              int months = cal1.get(Calendar.MONTH) - cal2.get(Calendar.MONTH);
              System.out.println("number of months : "+Math.abs(years*12 + months));
         }Or with only Strings :
         public static void main(String[] args) {
              String s1 = "201002";
              String s2 = "201104";
              int years = Integer.valueOf(s1.substring(0,4)) - Integer.valueOf(s2.substring(0,4));
              int months = Integer.valueOf(s1.substring(4)) - Integer.valueOf(s2.substring(4));
              System.out.println("number of month : "+Math.abs(years*12 + months));
         }Edited by: 888099 on 28 sept. 2011 05:49Full code solutions will not help the OP, he will be back here with a different Date question. Posters here try to nudge the OP to figure out the solution himself.

  • How to convert content of a Text file to String?

    Hi,
    I need to read the content of a text file and convert it into String and display it on to a JSP file.
    But the codings below don't work. Please advise me on how can i display the text file content.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    File adCheck = new File("list.txt");
    fis = new FileInputStream(adCheck);
    int Length = adCheck.length();
    byte arr[] = new byte[Length];
    int dataRead = 0;
    int totalData = 0;
    while(totalData <Length)
         dataRead = fis.read(arr,totalData,Length);
         totalData += dataRead;
    String Content = new String(arr);//byte array converted to String
    arr = null;

    Take a BufferReader:
    BufferedReader read = new BufferedReader(new FileReader("c:\test.txt");
    String temp = read.readln();
    You can make loops etc. Adding new Strings to an ArrayList,
    adding Strings etc....

Maybe you are looking for

  • Chapter Jump problems

    When my dvd production is ready and when I watch it in the simulator, there is no fluent jump from one chapter to another chapter. And the same goes from track to track. The first frame of the new chapter is freezing for about a second. When I burn t

  • JDBC Driver 10.1.0.5 to 10.2.0.3 Upgrade Exception: Socket is not connected

    Environment - Oracle TopLink 10g Release 3 (10.1.3.3.0) (Build 070620) Oracle 10g Release 3 (10.1.3) Application Server Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production JDBC Driver: 10.2.0.3 Problem - I am trying a simple

  • Inspection lot generation during 322 movement type

    Hi Experts whenever we clear inspection lot from Quality we are having one issue first time user has given wrong UD code as Accepted,but that wasactually wrong,what he does is he will reverse the Lot through 322movement type,And again actually the ma

  • Oracle 11i in ipad

    Hi All, One query : Whether Oracle Application 11i runs in ipad. We have a requirement of running Oracle Apps 11(11.5.10.2) in ipad. I read that ipad doesnt support java and flash...so worried whether it will launch the forms Thanks in advance

  • After update the latest photoshop cc 2014,contact sheet font can't set what point size I want

    After update the latest photoshop cc 2014,contact sheet font can't set what point size I want.