export default function castDouble(v: any, defVal?: number): number;