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)
from quant.testunit import VOLATILITY_LOW
from quant.testunit import VOLATILITY_HIGH
from quant.testunit import VOLATILITY_ZERO
from quant.pricer.simple import EuropeanBlackScholes
 

src/q/u/quant-0.8/src/quant/contracttype/simpletest.py   quant(Download)
from quant.testunit import VOLATILITY_LOW
from quant.testunit import VOLATILITY_HIGH
from quant.testunit import VOLATILITY_ZERO
 
def suite():