Search Result

Collapse
19 results in 0.0015 seconds.
Keywords
Members
Tags
float
  •  

  • Clear function working locally but not on server

    I am using floats in my webpage layout to position controls relative to each other. I have the controlNewLine (always present to force the clear), mandatory indicator, label, input, and validator of each control all floated left so they will be on the same line, and then I use the "clear: both;" to get the next element to drop down a line and go all the way over to the left side of the screen.

    This works fine on my local...
    See more | Go to post

  • Gregosky
    started a topic convert double* to float*
    in C

    convert double* to float*

    Hi guys,

    I have written a library that manipulates data stored in double arrays. It took months to fine tune it and here it is, working fine. Everything was great until I started integrating my project with another open source project that uses float arrays. I need to pass my double arrays to the function that requires float arrays.. I am out of ideas how to do that.. I would like to avoid re-writing my project to use float instead...
    See more | Go to post

  • puns
    started a topic List of string to float

    List of string to float

    Hi,

    I'm reading from csv file using csv module and end-up with a list of string (while actual data is time stamp or float)
    lst=['2010-02-15 18:22:08.918000 ', '2010-12-11 00:00:00.000000 ', '10740.0', '10740.0', '10750.0', '10745.0', '10741.2457045']

    How can I convert list to date time and float using minimum line of fastest code. Fastest because csv size are upto 20 MB and have hundreds of them to read from....
    See more | Go to post

  • Gordon Haag
    started a topic How to convert string with letters to float?

    How to convert string with letters to float?

    I am trying to do a little bit of numeric computing. I wrote a program that writes the result of each iteration of a function to a file. I want to graph these results as dots using vpython, but I am unable to do so.

    I need each value to be on its own line in the text file, so I am using this to write the value to the text file:
    Code:
    written=str(currenttotal)
    squarerootfile.write(written)
    squarerootfile.write("\n")
    ...
    See more | Go to post

  • hschew00
    started a topic assigning floating literal to void*
    in C

    assigning floating literal to void*

    if I have the following:
    void *x;
    const char str[]="abcdefghijklm n";

    I can assign x=0x12345678;
    I can assign x=str;

    but how can I assign a float literal to x such that the content of x is an IEEE754 format of this literal floating point?
    See more | Go to post

  • Kelly69
    started a topic DataGridView and Floating point numbers

    DataGridView and Floating point numbers

    Hi

    I have a DataGridView in C# which is bound to a datasource, which is an array of a user defined class. Some of the members of this class are floating point numbers. All the column in the datagrid are populated nicely when the form is loaded.

    But when I edit any column (in the datagridview) that is associated with a float data type with a value of 0, I get an Exception - "Input String was not in the correct...
    See more | Go to post

  • desheffer
    started a topic Float inside a float (IE bug)

    Float inside a float (IE bug)

    Hello all, I'm having an issue with (something like) the following:

    <div style="backgrou nd:blue; float:right;">
    <div style="backgrou nd:orange; float:right;">A AA</div>
    </div>

    In FF, I see none of the blue of box, only the orange 'AAA' box floated to the right, exactly as I expect. In IE, however, the blue box fills the page width 100%. It's as if it has lost its...
    See more | Go to post

  • ileyrana
    started a topic float representation

    float representation

    Sorry, i have a problem a have the next code
    string str = "C3000000" // is a representation to float number in hex (in decimal is 195).
    a try to convert in integer, by this method
    string temp = System.Convert. ToUInt32(str, 16).ToString();
    I want show it in a TEXbox by
    TextBox1.Text = temp;
    but a get the same string c3000000!!! :( I need to show 195.
    What can i do, please help me
    See more | Go to post

  • Problem with line height when using <span> and "float:right"

    Hi there,

    I am building a small WebApp, and using a list to display country values for a specific variable. It should be like

    Country A 10
    Country B 4
    Country C 125


    So, what I have in CSS is this:
    Code:
    .variable {
    	font-size: 12px; 
    	font-weight: bold;
    	color: #7388a5;
    }
    
    .value {
    	font-size:
    ...
    See more | Go to post

  • How to set div width when there is no content inside it

    In firefox and ie8 the middle div is ignoring the width when there is not content.
    Please help me fix it to work the same way for ie7 also

    I cannot remove the width for the main 3 div's
    Code:
    **************************************************************************
    <head>
        <title>Untitled Page</title>
    <link href="ie7.css" rel="stylesheet" type="text/css" />
    ...
    See more | Go to post

  • hilaDG
    started a topic My Float had become Decimal (38, 5)

    My Float had become Decimal (38, 5)

    Hi All,

    I have a query that refers to a value in a table that is stored as a float like this:

    Code:
    VIEW [dbo].[v_cash_sub] AS
    
    SELECT po_account,
     SUM(po_quantity  ) as cash
     FROM dbo.position
      INNER JOIN dbo.security
       ON se_id = po_security
     WHERE se_cash <> 0
     GROUP BY po_account
    And the SSMA tells me that this view had po_account (INT), po_quantity...
    See more | Go to post

  • Problem with display:inline-block footer following a float:right div

    Hi guys.

    I have a footer set to display:inline-block so that it'll shrink to fit its contents. It works fine when it follows other block or inline elements, it seems. However, when it follows a div set to float:right, it aligns to the left of that div. Here's the relevant css:

    Code:
    #footer {
    	clear:both;
    	padding:0 20px 13px;
    	background-color:transparent;
    	border-width:18px 22px 0 20px;
    ...
    See more | Go to post

  • bsmath
    started a topic How do I divide integers that equal float C?
    in C

    How do I divide integers that equal float C?

    I tried the program below to divide integers by integers (a, n, h etc. below) that equal C, but it does not divide correctly. Someone told me that "float C=float();" should have an epsilon somewhere. The computer language is C++. Can you tell me how to program it so it will divide properly?

    #include<iostre am>
    #include<string >
    #include<iomani p>
    #include<math.h >
    #include<stdio. h>...
    See more | Go to post

  • MrL0co
    started a topic 4-byte char from hex to float
    in C

    4-byte char from hex to float

    he there,
    I am trying to read out a .md3 file.
    i am stuck on a point where i have to convert a 8-bit hexedecimal char to a float.
    and change it from little endian to big endian

    this is how far i got

    Code:
    	unsigned char tmp[4];
    	f32 test;
    
    	fread(&tmp, 1, 4, f);
    	test = bitshiftf32(tmp);
    
    f32 bitshiftf32(unsigned char val[4]) {
    	return val[0]|(val[1]<<8)|(val[2]<<16)|(val[3]<<24);
    ...
    See more | Go to post

  • one div contain 2 divs one div have fix height how to?

    hello all,

    i don't really good in css and i can't seem to figure this one

    i have a div that hold inside it 2 divs

    [CODE=html]<div class="line">
    <div class="left"><s pan class="link">My name</span>here we have a lot of text </div>
    <div class="right">t ime stamp</div>
    </div>[/CODE]
    css: ...
    See more | Go to post
Working...