local PAGE = script.Parent.Parent
local PlayerAge = PAGE.AccountAge
local PlayerName = PAGE.Name
local ageInMonths = (math.floor(PlayerAge * 1000) / 1000) / 30
local ageInYears = (math.floor(PlayerAge * 1000) / 1000) / 365
game.StarterGui:SetCore("ChatMakeSystemMessage",{Text = "Welcome "..PlayerName.." Your account age is "..PlayerAge.." days old",Color = Color3.new(50,150,0),Font = Enum.Font.ArialBold,FontSize = Enum.FontSize.Size32})
if PlayerAge < 30 then
game.game.StarterGui:SetCore("ChatMakeSystemMessage",{Text = "Which isn't even a month. ",Color = Color3.new(50,150,0),Font = Enum.Font.ArialBold,FontSize = Enum.FontSize.Size32})
else
end
if PlayerAge < 365 then
game.StarterGui:SetCore("ChatMakeSystemMessage",{Text = "Which isn't even a year, But it is however "..ageInMonths.." months old.",Color = Color3.new(50,150,0),Font = Enum.Font.ArialBold,FontSize = Enum.FontSize.Size32})
elseif
PlayerAge > 365 then
game.StarterGui:SetCore("ChatMakeSystemMessage",{Text = "Which is "..ageInMonths.." in months".." or "..ageInYears.." in years",Color = Color3.new(50,150,0),Font = Enum.Font.ArialBold,FontSize = Enum.FontSize.Size32})
end
at the fifth and sixths line (ageInMonths) and (ageInYears) i want it so the output only leaves 3 decimals on each months and years because in game it does like 10 decimals, what do i do?

3 comments
i dont understand where i'm supposed to put PlayerAge
The
floatvariable represents your number.yeah but then where do i use converted?