73 Topics
|
|
can someone tell me how to convert a string to a float. [CODE](Float)"1";[/CODE] does not work. |
|
I'm stuck. I currently have the following example file structure: X, Y, Z 0.000234E+04, 0.000244E+03, 0.000234E+04 0.000244E+03, 0.000234E+04, 0.000238E+05 0.000238E+05, 0.000244E+03, 0.000234E+04 I would like for the Scientific Notation to be converted to float or integer values: X, Y, Z 2.34, 0.244, 2.34 0.244, 2.34, 23.8 23.8, 0.244, 2.34 I … |
|
Hi, Please go easy on me. This is my first website. :) I am having trouble getting my text to line up how I want it to in IE7. It works fine in Firefox and Safari. Wondering if someone can help me fix and understand where I am going wrong. … |
|
Hello, I'm trying to get a div tag to move while scrolling. I know you can do position: fixed, but I was wondering how to do it so if the div tag is in the middle of the web browser, it will stay there until when you scroll down and … |
|
So - I'm working on developing a new theme for WordPress, however I'm having some difficulties. The theme is basically done, but it really urks me that the wrapper in the background loads last. Basically, the page looks like this when it's loading: [url]http://i.imgur.com/JdynG.png[/url] Then like this when it's done: … |
|
How would you safely round a floating point number to the nearest integer ? Python has the built in function [icode]round[/icode], but it returns a floating point number [code=python] >>> round(4.9) 5.0 >>> help(round) Help on built-in function round in module __builtin__: round(...) round(number[, ndigits]) -> floating point number Round … |
|
Hello, I am trying to get my 'logo' (which is just css text based) to be level as my navigation. I am having trouble with this, it is always above my navigation. I'd like my logo to be left, and the navigation right. I'm sure its something very simple, a … |
|
I have created a simple website with my first attempt at css but seem to have problems with the right float. Web address & css are: [URL="http://www.corporate-event.com.au/"]Address[/URL] [URL="http://www.corporate-event.com.au/style.css"]CSS[/URL] Browsers being viewed: Mozilla 3.6.3 IE 8 Mozilla on my PC appears fine but IE is ok except for the inconsistent right … |
|
I want to print a float number with it's digits extending to 20000 digits after the decimal i.e. if the number is 10/3, it should print 3.333333333333333333333333333...20000 or more times. So, how do I print something like that? Also, do tell the solution for C and C++ as well... The … |
|
This code was in discussion of getting numeric input to Python. This function returns the zero-stripped, normalized string form the input string if it is correct, False truth value otherwise (it can not be mixed with number 0 as accepted '0' are returned as string '0'). If string passes the … |
|
Hi I have decided to use CSS for layouts. Previously I would have used tables. My problem is that I want to place images to the left and related text on the right of the images. I have used new blank paragraphs to "fill" the space between the end of … |
|
This snippet defines a class LebsegueSet which instances represent sets of real numbers, namely finite unions of intervals. Set theoretical, topological and measure theoretical operations are implemented in pure python. Use freely and enjoy ! |
|
An example of a range generator that handles floating point numbers, appropriately called frange(). The function range() or the generator xrange() can only be used for integers. Note that xrange() now is range() in Python3. |
The End.