Jump to content

ISBN13 check digit: Difference between revisions

m
m (syntax highlighting fixup automation)
Line 2,848:
 
=={{header|Vlang}}==
{{trans|goGo}}
<syntaxhighlight lang="vlang">fn check_isbn13(isbn13 string) bool {
fn check_isbn13(isbn13 string) bool {
// remove any hyphens or spaces
isbn := isbn13.replace('-','').replace(' ','')
// check length == 13
le := isbn.len
291

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.