float property how ?

i got this from the console help

but not working getting error on sys var inside

bpy.types.Scene.FloatProperty(name=“float1”, description="", default=0.0, min=sys.float_info.min, max=sys.float_info.max, soft_min=sys.float_info.min, soft_max=sys.float_info.max, step=3, precision=2, options={‘ANIMATABLE’}, subtype=‘NONE’, unit=‘NONE’)

so how do you write it to make it work
and i gave it the name float1 hope this is good to used like that !

and i call it like this hope it is the way to do it
col.prop(scene, ‘float1’ )

i got the example for then floatvector working

also an example for the int and boolean string would be nice too!

##############

here example for the class

bpy.types.Scene.FloatProperty(name="float1", description="", default=0.0, min=sys.float_info.min, max=sys.float_info.max, soft_min=sys.float_info.min, soft_max=sys.float_info.max, step=3, precision=2, options={'ANIMATABLE'}, subtype='NONE', unit='NONE')

StringProperty(name="mystring1", description="", default="", maxlen=0, options={'ANIMATABLE'}, subtype='NONE')

#bpy.types.Scene.IntProperty(attr=“myprop”)

class VIEW3D_PT_CustomMenuPanel(bpy.types.Panel): # Define the New Panel
bl_space_type = “VIEW_3D”
bl_region_type = “TOOLS”
bl_label = “Subdivide Local”

base1 = FloatProperty(name="Base",
	description="Base of Triangle",
	default=5.0, min=1, max=100.0)
	
print ('base=',base1)

def draw(self, context):
	layout = self.layout
	
	scene = context.scene
	
	layout.label(text="custom text")					# Add a new Text field on one line
	layout.label(text="Clay Local")						# Add a new Text field on one line
	layout.operator("object.CustomButton")				# Add a new Label field on one line
	layout.label(text="Resolution")						# Add a new Text field on one line
	layout.operator("object.CustomButton1")				# Add a new Label field on one line



	col = layout.column()
	col.separator()
	col.label('float Vector right here:')
	subtype ='XYZ'
	
	col.prop(scene, 'FloatVector1' +subtype  )
	col.prop(scene, 'float1'   )

Thanks

from bpy.props import *

FloatProperty(name="Factor", description="Amount of smoothing", default=0.5, min=0.0, max=1.0)

IntProperty(name="Repeats",
        description="Amount of smoothing",
        default=4, min=0, max=50)

self.properties.factor

but is it giving an error on the Sys word?

in the console help it show theses values sung the Sys word

and i used the example given

but still gies error on
var like min=sys.float_info.min

so why the error ?

2 -
tested the new float as shown but get error on the attrib pos 1 required and not included!

bpy.types.Scene.FloatProperty(name=“float1”, description=“Amount of smoothing”, default=0.5, min=0.0, max=1.0)

Thanks