What kind of value does the setglobalparameter need

use this code in python script

once made by Mostafa

and check in revit the storage type off the global parameter