如何使用Mod 11 [英] How to use Mod 11

查看:105
本文介绍了如何使用Mod 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


我正在尝试编写一个函数来计算ISBN校验位,我无法得到我的代码来提供正确的输出。

ISBN是通过加权数来计算的,除以11,余数是校验位。以下是我所拥有的,但Access没有返回正确的校验位。


用户在一个文本框中输入一个9位数字,按下一个命令按钮,结果是校验位返回。



任何帮助都会很棒。谢谢。


Hi All.

I am trying to write a function to calculate the ISBN check digit and I cannot get my code to give the correct output.

The ISBN is calculated by weighting the numbers, dividing by 11 and the remainder is the check digit. Below is what I have, but Access is not returning the correct check digit.

The user enters a 9 digit number into a text box, presses a command button and the check digit is supposed to be returned.


Any help would be great. Thanks.


展开 | 选择 | Wrap | 行号

推荐答案

尝试:
展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


OldBirdMan - 我试过了,它仍然无法正常工作。
OldBirdMan - I tried that and it still isn''t working properly.


我跑了:
I ran:
展开 | 选择 | Wrap | 行号


这篇关于如何使用Mod 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆