diff --git a/playlet-lib/src/components/VideoRowCell/VideoRowCell.bs b/playlet-lib/src/components/VideoRowCell/VideoRowCell.bs index b994e288..f20dee61 100644 --- a/playlet-lib/src/components/VideoRowCell/VideoRowCell.bs +++ b/playlet-lib/src/components/VideoRowCell/VideoRowCell.bs @@ -87,7 +87,12 @@ function FormatViewCount(viewCount as dynamic) as string end if viewCount = viewCount / 1000 - return `${FormatFloat(viewCount)}M views` + if viewCount < 1000 + return `${FormatFloat(viewCount)}M views` + end if + + viewCount = viewCount / 1000 + return `${FormatFloat(viewCount)}B views` end function function FormatFloat(X as integer) as integer