Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

src/q/u/quant-0.8/src/quant/pricer/blackscholestest.py   quant(Download)
import unittest
from quant.pricer.basetest import PricerTestCase
from quant.testunit import VOLATILITY_MEDIUM
from quant.testunit import VOLATILITY_LOW
from quant.testunit import VOLATILITY_HIGH

src/q/u/quant-0.8/src/quant/contracttype/simpletest.py   quant(Download)
import unittest
from quant.dom.testunit import TestCase
from quant.testunit import VOLATILITY_MEDIUM
from quant.testunit import VOLATILITY_LOW
from quant.testunit import VOLATILITY_HIGH