API:GetPlayerCurrentSkillValue

__NOTOC__
GetPlayerCurrentSkillValue
GetPlayerCurrentSkillValue
GetPlayerCurrentSkillValue( SkillId )
Get the current rating of a skill.
== Parameters ==
=== Arguments ===
:;SkillId
::string - The skill name as defined in code, being one of (must be uppercase as shown):
:::
Crafting Skills	Weapon Skills	Weapon Skills
ALCHEMY 	AXE 	HAMMER
BLACKSMITH 	AXE2H 	POLEARM
CARPENTER 	BLADE 	STAFF
COOK 	BLUDGEON 	UNARMED
HERBLISM 	BOW 	WAND
LUMBERING 	CLAYMORE 	
MAKEARMOR 	COSSBOW 	
MINING 	DAGGER 	
PLANT 	DEFENCE 	
TAILOR 	GUN 	
=== Returns ===
:;number
::float - The current skill rating value.
:::The level of the skill (as displayed in the crafting interface) is the part before the decimal separator of this value.
:::The progress on learning the skill is the part after the decimal separator.
== Example ==
local _1 = GetPlayerCurrentSkillValue(1,1);
_1 = 0
----
Edit
--Qaz1qaz1qa 05:35, 6 March 2010 (UTC)
GetPlayerCurrentSkillValue( "SKILLNAME" ) <must be UPPERCASE
 Return the current skill level rounded to the 4th decimal.
 Whole number = Skill level
 Decimal = percent
 example DEFAULT_CHAT_FRAME(GetPlayerCurrentSkillValue( "HERBLISM" ))
 Returns 32.206058502197
 Skillbook > Gathering > Herbalism level:32 20.61%
== Notes ==
== Related Functions ==
* GetPlayerMaxSkillValue